naftiko: 1.0.0-alpha2 info: label: API Endpoints — subpackage_customFieldsCustomObject description: 'API Endpoints — subpackage_customFieldsCustomObject. 5 operations. Lead operation: List Custom Object Custom Fields. Self-contained Naftiko capability covering one Close business surface.' tags: - Close - subpackage_customFieldsCustomObject created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOSE_API_KEY: CLOSE_API_KEY capability: consumes: - type: http namespace: close-subpackage-customfieldscustomobject baseUri: https://api.close.com/api/v1 description: API Endpoints — subpackage_customFieldsCustomObject business capability. Self-contained, no shared references. resources: - name: custom_field-custom_object_type path: /custom_field/custom_object_type/ operations: - name: list method: GET description: List Custom Object Custom Fields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: Use your API key as the username and leave the password empty. required: true - name: create method: POST description: Create a new Custom Object Custom Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: Use your API key as the username and leave the password empty. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: custom_field-custom_object_type-id path: /custom_field/custom_object_type/{id}/ operations: - name: get method: GET description: Fetch Custom Object Custom Field's details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: Authorization in: header type: string description: Use your API key as the username and leave the password empty. required: true - name: update method: PUT description: Update a Custom Object Custom Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: Authorization in: header type: string description: Use your API key as the username and leave the password empty. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Delete a Custom Object Custom Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: Authorization in: header type: string description: Use your API key as the username and leave the password empty. required: true authentication: type: bearer token: '{{env.CLOSE_API_KEY}}' exposes: - type: rest namespace: close-subpackage-customfieldscustomobject-rest port: 8080 description: REST adapter for API Endpoints — subpackage_customFieldsCustomObject. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/custom-field/custom-object-type name: custom-field-custom-object-type description: REST surface for custom_field-custom_object_type. operations: - method: GET name: list description: List Custom Object Custom Fields call: close-subpackage-customfieldscustomobject.list with: Authorization: rest.Authorization outputParameters: - type: object mapping: $. - method: POST name: create description: Create a new Custom Object Custom Field call: close-subpackage-customfieldscustomobject.create with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/custom-field/custom-object-type/{id} name: custom-field-custom-object-type-id description: REST surface for custom_field-custom_object_type-id. operations: - method: GET name: get description: Fetch Custom Object Custom Field's details call: close-subpackage-customfieldscustomobject.get with: id: rest.id Authorization: rest.Authorization outputParameters: - type: object mapping: $. - method: PUT name: update description: Update a Custom Object Custom Field call: close-subpackage-customfieldscustomobject.update with: id: rest.id Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete a Custom Object Custom Field call: close-subpackage-customfieldscustomobject.delete with: id: rest.id Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: close-subpackage-customfieldscustomobject-mcp port: 9090 transport: http description: MCP adapter for API Endpoints — subpackage_customFieldsCustomObject. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-custom-object-custom-fields description: List Custom Object Custom Fields hints: readOnly: true destructive: false idempotent: true call: close-subpackage-customfieldscustomobject.list with: Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: create-new-custom-object-custom description: Create a new Custom Object Custom Field hints: readOnly: false destructive: false idempotent: false call: close-subpackage-customfieldscustomobject.create with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: fetch-custom-object-custom-field-s description: Fetch Custom Object Custom Field's details hints: readOnly: true destructive: false idempotent: true call: close-subpackage-customfieldscustomobject.get with: id: tools.id Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: update-custom-object-custom-field description: Update a Custom Object Custom Field hints: readOnly: false destructive: false idempotent: true call: close-subpackage-customfieldscustomobject.update with: id: tools.id Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: delete-custom-object-custom-field description: Delete a Custom Object Custom Field hints: readOnly: false destructive: true idempotent: true call: close-subpackage-customfieldscustomobject.delete with: id: tools.id Authorization: tools.Authorization outputParameters: - type: object mapping: $.