naftiko: 1.0.0-alpha2 info: label: HubSpot CMS Source Code API — File Metadata description: 'HubSpot CMS Source Code API — File Metadata. 1 operations. Lead operation: Hubspot Retrieve File or Folder Metadata. Self-contained Naftiko capability covering one Hubspot business surface.' tags: - Hubspot - File Metadata created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUBSPOT_API_KEY: HUBSPOT_API_KEY capability: consumes: - type: http namespace: source-code-file-metadata baseUri: https://api.hubapi.com description: HubSpot CMS Source Code API — File Metadata business capability. Self-contained, no shared references. resources: - name: cms-v3-source-code-environment-metadata-path path: /cms/v3/source-code/{environment}/metadata/{path} operations: - name: getsourcecodemetadata method: GET description: Hubspot Retrieve File or Folder Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.HUBSPOT_API_KEY}}' exposes: - type: rest namespace: source-code-file-metadata-rest port: 8080 description: REST adapter for HubSpot CMS Source Code API — File Metadata. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cms/v3/source-code/{environment}/metadata/{path} name: cms-v3-source-code-environment-metadata-path description: REST surface for cms-v3-source-code-environment-metadata-path. operations: - method: GET name: getsourcecodemetadata description: Hubspot Retrieve File or Folder Metadata call: source-code-file-metadata.getsourcecodemetadata outputParameters: - type: object mapping: $. - type: mcp namespace: source-code-file-metadata-mcp port: 9090 transport: http description: MCP adapter for HubSpot CMS Source Code API — File Metadata. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hubspot-retrieve-file-folder-metadata description: Hubspot Retrieve File or Folder Metadata hints: readOnly: true destructive: false idempotent: true call: source-code-file-metadata.getsourcecodemetadata outputParameters: - type: object mapping: $.