naftiko: 1.0.0-alpha2 info: label: Speech-to-speech (EVI) — subpackage_tools description: 'Speech-to-speech (EVI) — subpackage_tools. 9 operations. Lead operation: Create tool. Self-contained Naftiko capability covering one Hume Ai business surface.' tags: - Hume Ai - subpackage_tools created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUME_AI_API_KEY: HUME_AI_API_KEY capability: consumes: - type: http namespace: evi-subpackage-tools baseUri: https://api.hume.ai description: Speech-to-speech (EVI) — subpackage_tools business capability. Self-contained, no shared references. resources: - name: v0-evi-tools path: /v0/evi/tools operations: - name: createtool method: POST description: Create tool outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: listtools method: GET description: List tools outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_number in: query type: integer description: Specifies the page number to retrieve, enabling pagination. - name: page_size in: query type: integer description: Specifies the maximum number of results to include per page, enabling pagination. The value must be between 1 and 100, inclusive. - name: restrict_to_most_recent in: query type: boolean description: By default, `restrict_to_most_recent` is set to true, returning only the latest version of each tool. To include all versions of each tool in the list, set `res - name: name in: query type: string description: Filter to only include tools with name. - name: X-Hume-Api-Key in: header type: string required: true - name: v0-evi-tools-id path: /v0/evi/tools/{id} operations: - name: listtoolversions method: GET description: List tool versions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: page_number in: query type: integer description: Specifies the page number to retrieve, enabling pagination. - name: page_size in: query type: integer description: Specifies the maximum number of results to include per page, enabling pagination. The value must be between 1 and 100, inclusive. - name: restrict_to_most_recent in: query type: boolean description: By default, `restrict_to_most_recent` is set to true, returning only the latest version of each tool. To include all versions of each tool in the list, set `res - name: X-Hume-Api-Key in: header type: string required: true - name: createtoolversion method: POST description: Create tool version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Tool. Formatted as a UUID. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: updatetoolname method: PATCH description: Update tool name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Tool. Formatted as a UUID. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletetool method: DELETE description: Delete tool outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Tool. Formatted as a UUID. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: v0-evi-tools-id-version-version path: /v0/evi/tools/{id}/version/{version} operations: - name: gettoolversion method: GET description: Get tool version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Tool. Formatted as a UUID. required: true - name: version in: path type: integer description: Version number for a Tool. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: updatetooldescription method: PATCH description: Update tool description outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Tool. Formatted as a UUID. required: true - name: version in: path type: integer description: Version number for a Tool. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletetoolversion method: DELETE description: Delete tool version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Tool. Formatted as a UUID. required: true - name: version in: path type: integer description: Version number for a Tool. required: true - name: X-Hume-Api-Key in: header type: string required: true authentication: type: apikey key: X-Hume-Api-Key value: '{{env.HUME_AI_API_KEY}}' placement: header exposes: - type: rest namespace: evi-subpackage-tools-rest port: 8080 description: REST adapter for Speech-to-speech (EVI) — subpackage_tools. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v0/evi/tools name: v0-evi-tools description: REST surface for v0-evi-tools. operations: - method: POST name: createtool description: Create tool call: evi-subpackage-tools.createtool with: X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listtools description: List tools call: evi-subpackage-tools.listtools with: page_number: rest.page_number page_size: rest.page_size restrict_to_most_recent: rest.restrict_to_most_recent name: rest.name X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - path: /v1/v0/evi/tools/{id} name: v0-evi-tools-id description: REST surface for v0-evi-tools-id. operations: - method: GET name: listtoolversions description: List tool versions call: evi-subpackage-tools.listtoolversions with: id: rest.id page_number: rest.page_number page_size: rest.page_size restrict_to_most_recent: rest.restrict_to_most_recent X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - method: POST name: createtoolversion description: Create tool version call: evi-subpackage-tools.createtoolversion with: id: rest.id X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updatetoolname description: Update tool name call: evi-subpackage-tools.updatetoolname with: id: rest.id X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetool description: Delete tool call: evi-subpackage-tools.deletetool with: id: rest.id X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - path: /v1/v0/evi/tools/{id}/version/{version} name: v0-evi-tools-id-version-version description: REST surface for v0-evi-tools-id-version-version. operations: - method: GET name: gettoolversion description: Get tool version call: evi-subpackage-tools.gettoolversion with: id: rest.id version: rest.version X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - method: PATCH name: updatetooldescription description: Update tool description call: evi-subpackage-tools.updatetooldescription with: id: rest.id version: rest.version X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetoolversion description: Delete tool version call: evi-subpackage-tools.deletetoolversion with: id: rest.id version: rest.version X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - type: mcp namespace: evi-subpackage-tools-mcp port: 9090 transport: http description: MCP adapter for Speech-to-speech (EVI) — subpackage_tools. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-tool description: Create tool hints: readOnly: false destructive: false idempotent: false call: evi-subpackage-tools.createtool with: X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: list-tools description: List tools hints: readOnly: true destructive: false idempotent: true call: evi-subpackage-tools.listtools with: page_number: tools.page_number page_size: tools.page_size restrict_to_most_recent: tools.restrict_to_most_recent name: tools.name X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: list-tool-versions description: List tool versions hints: readOnly: true destructive: false idempotent: true call: evi-subpackage-tools.listtoolversions with: id: tools.id page_number: tools.page_number page_size: tools.page_size restrict_to_most_recent: tools.restrict_to_most_recent X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: create-tool-version description: Create tool version hints: readOnly: false destructive: false idempotent: false call: evi-subpackage-tools.createtoolversion with: id: tools.id X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: update-tool-name description: Update tool name hints: readOnly: false destructive: false idempotent: true call: evi-subpackage-tools.updatetoolname with: id: tools.id X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: delete-tool description: Delete tool hints: readOnly: false destructive: true idempotent: true call: evi-subpackage-tools.deletetool with: id: tools.id X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: get-tool-version description: Get tool version hints: readOnly: true destructive: false idempotent: true call: evi-subpackage-tools.gettoolversion with: id: tools.id version: tools.version X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: update-tool-description description: Update tool description hints: readOnly: false destructive: false idempotent: true call: evi-subpackage-tools.updatetooldescription with: id: tools.id version: tools.version X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: delete-tool-version description: Delete tool version hints: readOnly: false destructive: true idempotent: true call: evi-subpackage-tools.deletetoolversion with: id: tools.id version: tools.version X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $.