naftiko: 1.0.0-alpha2 info: label: Mintlify API — Agent description: 'Mintlify API — Agent. 2 operations. Lead operation: Create agent job. Self-contained Naftiko capability covering one Mintlify business surface.' tags: - Mintlify - Agent created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MINTLIFY_API_KEY: MINTLIFY_API_KEY capability: consumes: - type: http namespace: mintlify-agent baseUri: https://api.mintlify.com description: Mintlify API — Agent business capability. Self-contained, no shared references. resources: - name: v1-agent-projectId-job path: /v1/agent/{projectId}/job operations: - name: createagentjob method: POST description: Create agent job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v1-agent-projectId-job-id path: /v1/agent/{projectId}/job/{id} operations: - name: getagentjob method: GET description: Get agent job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: id in: path type: string required: true authentication: type: bearer token: '{{env.MINTLIFY_API_KEY}}' exposes: - type: rest namespace: mintlify-agent-rest port: 8080 description: REST adapter for Mintlify API — Agent. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/agent/{projectid}/job name: v1-agent-projectid-job description: REST surface for v1-agent-projectId-job. operations: - method: POST name: createagentjob description: Create agent job call: mintlify-agent.createagentjob with: projectId: rest.projectId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/agent/{projectid}/job/{id} name: v1-agent-projectid-job-id description: REST surface for v1-agent-projectId-job-id. operations: - method: GET name: getagentjob description: Get agent job call: mintlify-agent.getagentjob with: projectId: rest.projectId id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: mintlify-agent-mcp port: 9090 transport: http description: MCP adapter for Mintlify API — Agent. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-agent-job description: Create agent job hints: readOnly: false destructive: false idempotent: false call: mintlify-agent.createagentjob with: projectId: tools.projectId body: tools.body outputParameters: - type: object mapping: $. - name: get-agent-job description: Get agent job hints: readOnly: true destructive: false idempotent: true call: mintlify-agent.getagentjob with: projectId: tools.projectId id: tools.id outputParameters: - type: object mapping: $.