naftiko: 1.0.0-alpha2 info: label: Twilio - Trusthub — Policies description: 'Twilio - Trusthub — Policies. 2 operations. Lead operation: Policies. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - Policies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWILIO_API_KEY: TWILIO_API_KEY capability: consumes: - type: http namespace: trust-hub-policies baseUri: https://trusthub.twilio.com description: Twilio - Trusthub — Policies business capability. Self-contained, no shared references. resources: - name: v1-Policies path: /v1/Policies operations: - name: listpolicies method: GET description: Retrieve a list of all Policys. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: PageSize in: query type: integer description: How many resources to return in each list page. The default is 50, and the maximum is 1000. - name: Page in: query type: integer description: The page index. This value is simply for client state. - name: PageToken in: query type: string description: The page token. This is provided by the API. - name: v1-Policies-Sid path: /v1/Policies/{Sid} operations: - name: fetchpolicies method: GET description: Fetch specific Policy Instance. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string that identifies the Policy resource. required: true authentication: type: basic username: '{{env.TWILIO_USER}}' password: '{{env.TWILIO_PASS}}' exposes: - type: rest namespace: trust-hub-policies-rest port: 8080 description: REST adapter for Twilio - Trusthub — Policies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/policies name: v1-policies description: REST surface for v1-Policies. operations: - method: GET name: listpolicies description: Retrieve a list of all Policys. call: trust-hub-policies.listpolicies with: PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/policies/{sid} name: v1-policies-sid description: REST surface for v1-Policies-Sid. operations: - method: GET name: fetchpolicies description: Fetch specific Policy Instance. call: trust-hub-policies.fetchpolicies with: Sid: rest.Sid outputParameters: - type: object mapping: $. - type: mcp namespace: trust-hub-policies-mcp port: 9090 transport: http description: MCP adapter for Twilio - Trusthub — Policies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-list-all-policys description: Retrieve a list of all Policys. hints: readOnly: true destructive: false idempotent: true call: trust-hub-policies.listpolicies with: PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: fetch-specific-policy-instance description: Fetch specific Policy Instance. hints: readOnly: true destructive: false idempotent: true call: trust-hub-policies.fetchpolicies with: Sid: tools.Sid outputParameters: - type: object mapping: $.