naftiko: 1.0.0-alpha2 info: label: Vapi Tools API — Tools description: "Vapi Tools API — Tools. 5 operations. Self-contained Naftiko capability covering the Vapi Tools business surface." tags: - Vapi - Tools created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: VAPI_API_KEY: VAPI_API_KEY capability: consumes: - type: http namespace: tools-tools baseUri: https://api.vapi.ai description: Vapi Tools API business capability. Self-contained, no shared references. resources: - name: tool path: /tool operations: - name: toolcontrollercreate method: POST description: "Vapi Create Tool" outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: toolcontrollerfindall method: GET description: "Vapi List Tools" outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: string description: "This is the maximum number of items to return. Defaults to 100." required: false - name: createdAtGt in: query type: string description: "This will return items where the createdAt is greater than the specified value." required: false - name: createdAtLt in: query type: string description: "This will return items where the createdAt is less than the specified value." required: false - name: createdAtGe in: query type: string description: "This will return items where the createdAt is greater than or equal to the specified value." required: false - name: createdAtLe in: query type: string description: "This will return items where the createdAt is less than or equal to the specified value." required: false - name: updatedAtGt in: query type: string description: "This will return items where the updatedAt is greater than the specified value." required: false - name: updatedAtLt in: query type: string description: "This will return items where the updatedAt is less than the specified value." required: false - name: updatedAtGe in: query type: string description: "This will return items where the updatedAt is greater than or equal to the specified value." required: false - name: updatedAtLe in: query type: string description: "This will return items where the updatedAt is less than or equal to the specified value." required: false - name: toolcontrollerfindone method: GET description: "Vapi Get Tool" outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: "The unique identifier for the resource." required: true - name: toolcontrollerupdate method: PATCH description: "Vapi Update Tool" outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: "The unique identifier for the resource." required: true - name: body in: body type: object description: Request body (JSON). required: true - name: toolcontrollerremove method: DELETE description: "Vapi Delete Tool" outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: "The unique identifier for the resource." required: true authentication: type: bearer key: Authorization value: 'Bearer {{env.VAPI_API_KEY}}' placement: header exposes: - type: rest namespace: tools-tools-rest port: 8080 description: REST adapter for Vapi Tools. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/tool name: tool description: REST surface for tool. operations: - method: POST name: toolcontrollercreate description: "Vapi Create Tool" call: tools-tools.toolcontrollercreate with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: toolcontrollerfindall description: "Vapi List Tools" call: tools-tools.toolcontrollerfindall with: limit: rest.limit createdAtGt: rest.createdAtGt createdAtLt: rest.createdAtLt createdAtGe: rest.createdAtGe createdAtLe: rest.createdAtLe updatedAtGt: rest.updatedAtGt updatedAtLt: rest.updatedAtLt updatedAtGe: rest.updatedAtGe updatedAtLe: rest.updatedAtLe outputParameters: - type: object mapping: $. - method: GET name: toolcontrollerfindone description: "Vapi Get Tool" call: tools-tools.toolcontrollerfindone with: id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: toolcontrollerupdate description: "Vapi Update Tool" call: tools-tools.toolcontrollerupdate with: body: rest.body id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: toolcontrollerremove description: "Vapi Delete Tool" call: tools-tools.toolcontrollerremove with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: tools-tools-mcp port: 9090 transport: http description: MCP adapter for Vapi Tools. One tool per consumed operation. tools: - name: vapi-toolcontrollercreate description: "Vapi Create Tool" hints: readOnly: false destructive: false idempotent: false call: tools-tools.toolcontrollercreate with: body: tools.body outputParameters: - type: object mapping: $. - name: vapi-toolcontrollerfindall description: "Vapi List Tools" hints: readOnly: true destructive: false idempotent: true call: tools-tools.toolcontrollerfindall with: limit: tools.limit createdAtGt: tools.createdAtGt createdAtLt: tools.createdAtLt createdAtGe: tools.createdAtGe createdAtLe: tools.createdAtLe updatedAtGt: tools.updatedAtGt updatedAtLt: tools.updatedAtLt updatedAtGe: tools.updatedAtGe updatedAtLe: tools.updatedAtLe outputParameters: - type: object mapping: $. - name: vapi-toolcontrollerfindone description: "Vapi Get Tool" hints: readOnly: true destructive: false idempotent: true call: tools-tools.toolcontrollerfindone with: id: tools.id outputParameters: - type: object mapping: $. - name: vapi-toolcontrollerupdate description: "Vapi Update Tool" hints: readOnly: false destructive: false idempotent: false call: tools-tools.toolcontrollerupdate with: body: tools.body id: tools.id outputParameters: - type: object mapping: $. - name: vapi-toolcontrollerremove description: "Vapi Delete Tool" hints: readOnly: false destructive: true idempotent: true call: tools-tools.toolcontrollerremove with: id: tools.id outputParameters: - type: object mapping: $.