Close · Capability

API Endpoints — subpackage_fieldEnrichment

API Endpoints — subpackage_fieldEnrichment. 1 operations. Lead operation: Enrich a specific field on a lead or contact using AI. Self-contained Naftiko capability covering one Close business surface.

Run with Naftiko Closesubpackage_fieldEnrichment

What You Can Do

POST
Create — Enrich a specific field on a lead or contact using AI
/v1/enrich-field

MCP Tools

enrich-specific-field-lead-contact

Enrich a specific field on a lead or contact using AI

Capability Spec

close-subpackage-fieldenrichment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Endpoints — subpackage_fieldEnrichment
  description: 'API Endpoints — subpackage_fieldEnrichment. 1 operations. Lead operation: Enrich a specific field on a lead
    or contact using AI. Self-contained Naftiko capability covering one Close business surface.'
  tags:
  - Close
  - subpackage_fieldEnrichment
  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-fieldenrichment
    baseUri: https://api.close.com/api/v1
    description: API Endpoints — subpackage_fieldEnrichment business capability. Self-contained, no shared references.
    resources:
    - name: enrich_field
      path: /enrich_field/
      operations:
      - name: create
        method: POST
        description: Enrich a specific field on a lead or contact using AI
        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
    authentication:
      type: bearer
      token: '{{env.CLOSE_API_KEY}}'
  exposes:
  - type: rest
    namespace: close-subpackage-fieldenrichment-rest
    port: 8080
    description: REST adapter for API Endpoints — subpackage_fieldEnrichment. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/enrich-field
      name: enrich-field
      description: REST surface for enrich_field.
      operations:
      - method: POST
        name: create
        description: Enrich a specific field on a lead or contact using AI
        call: close-subpackage-fieldenrichment.create
        with:
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: close-subpackage-fieldenrichment-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Endpoints — subpackage_fieldEnrichment. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: enrich-specific-field-lead-contact
      description: Enrich a specific field on a lead or contact using AI
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: close-subpackage-fieldenrichment.create
      with:
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.