naftiko: 1.0.0-alpha2 info: label: Toolhouse API — Logs description: 'Toolhouse API — Logs. 2 operations. Lead operation: Get User Logs. Self-contained Naftiko capability covering one Toolhouse business surface.' tags: - Toolhouse - Logs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOOLHOUSE_API_KEY: TOOLHOUSE_API_KEY capability: consumes: - type: http namespace: toolhouse-logs baseUri: '' description: Toolhouse API — Logs business capability. Self-contained, no shared references. resources: - name: me-executions path: /me/executions operations: - name: getuserlogsmeexecutionsget method: GET description: Get User Logs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: next_cursor in: query type: string - name: limit in: query type: integer - name: me-executions-log_id path: /me/executions/{log_id} operations: - name: getuserlogbyidmeexecutionslogidget method: GET description: Get User Log By Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: log_id in: path type: integer required: true authentication: type: bearer token: '{{env.TOOLHOUSE_API_KEY}}' exposes: - type: rest namespace: toolhouse-logs-rest port: 8080 description: REST adapter for Toolhouse API — Logs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/executions name: me-executions description: REST surface for me-executions. operations: - method: GET name: getuserlogsmeexecutionsget description: Get User Logs call: toolhouse-logs.getuserlogsmeexecutionsget with: next_cursor: rest.next_cursor limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/me/executions/{log-id} name: me-executions-log-id description: REST surface for me-executions-log_id. operations: - method: GET name: getuserlogbyidmeexecutionslogidget description: Get User Log By Id call: toolhouse-logs.getuserlogbyidmeexecutionslogidget with: log_id: rest.log_id outputParameters: - type: object mapping: $. - type: mcp namespace: toolhouse-logs-mcp port: 9090 transport: http description: MCP adapter for Toolhouse API — Logs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-user-logs description: Get User Logs hints: readOnly: true destructive: false idempotent: true call: toolhouse-logs.getuserlogsmeexecutionsget with: next_cursor: tools.next_cursor limit: tools.limit outputParameters: - type: object mapping: $. - name: get-user-log-id description: Get User Log By Id hints: readOnly: true destructive: false idempotent: true call: toolhouse-logs.getuserlogbyidmeexecutionslogidget with: log_id: tools.log_id outputParameters: - type: object mapping: $.