naftiko: 1.0.0-alpha2 info: label: Commvault REST API — Agents description: 'Commvault REST API — Agents. 1 operations. Lead operation: Commvault List agents for a client. Self-contained Naftiko capability covering one Commvault business surface.' tags: - Commvault - Agents created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COMMVAULT_API_KEY: COMMVAULT_API_KEY capability: consumes: - type: http namespace: rest-agents baseUri: https://{webserver}/webconsole/api description: Commvault REST API — Agents business capability. Self-contained, no shared references. resources: - name: Agent path: /Agent operations: - name: listagents method: GET description: Commvault List agents for a client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clientId in: query type: integer description: Client ID to list agents for required: true authentication: type: apikey key: Authtoken value: '{{env.COMMVAULT_API_KEY}}' placement: header exposes: - type: rest namespace: rest-agents-rest port: 8080 description: REST adapter for Commvault REST API — Agents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/agent name: agent description: REST surface for Agent. operations: - method: GET name: listagents description: Commvault List agents for a client call: rest-agents.listagents with: clientId: rest.clientId outputParameters: - type: object mapping: $. - type: mcp namespace: rest-agents-mcp port: 9090 transport: http description: MCP adapter for Commvault REST API — Agents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: commvault-list-agents-client description: Commvault List agents for a client hints: readOnly: true destructive: false idempotent: true call: rest-agents.listagents with: clientId: tools.clientId outputParameters: - type: object mapping: $.