naftiko: 1.0.0-alpha2 info: label: Airtable Metadata API — Fields description: 'Airtable Metadata API — Fields. 2 operations. Lead operation: Airtable Create a Field in a Table. Self-contained Naftiko capability covering one Airtable business surface.' tags: - Airtable - Fields created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AIRTABLE_API_KEY: AIRTABLE_API_KEY capability: consumes: - type: http namespace: metadata-fields baseUri: https://api.airtable.com/v0 description: Airtable Metadata API — Fields business capability. Self-contained, no shared references. resources: - name: meta-bases-baseId-tables-tableId-fields path: /meta/bases/{baseId}/tables/{tableId}/fields operations: - name: createfield method: POST description: Airtable Create a Field in a Table outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: meta-bases-baseId-tables-tableId-fields-fieldId path: /meta/bases/{baseId}/tables/{tableId}/fields/{fieldId} operations: - name: updatefield method: PATCH description: Airtable Update a Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fieldId in: path type: string description: The unique identifier of the field (starts with 'fld'). required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.AIRTABLE_API_KEY}}' exposes: - type: rest namespace: metadata-fields-rest port: 8080 description: REST adapter for Airtable Metadata API — Fields. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/meta/bases/{baseid}/tables/{tableid}/fields name: meta-bases-baseid-tables-tableid-fields description: REST surface for meta-bases-baseId-tables-tableId-fields. operations: - method: POST name: createfield description: Airtable Create a Field in a Table call: metadata-fields.createfield with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/meta/bases/{baseid}/tables/{tableid}/fields/{fieldid} name: meta-bases-baseid-tables-tableid-fields-fieldid description: REST surface for meta-bases-baseId-tables-tableId-fields-fieldId. operations: - method: PATCH name: updatefield description: Airtable Update a Field call: metadata-fields.updatefield with: fieldId: rest.fieldId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: metadata-fields-mcp port: 9090 transport: http description: MCP adapter for Airtable Metadata API — Fields. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: airtable-create-field-table description: Airtable Create a Field in a Table hints: readOnly: false destructive: false idempotent: false call: metadata-fields.createfield with: body: tools.body outputParameters: - type: object mapping: $. - name: airtable-update-field description: Airtable Update a Field hints: readOnly: false destructive: false idempotent: true call: metadata-fields.updatefield with: fieldId: tools.fieldId body: tools.body outputParameters: - type: object mapping: $.