naftiko: 1.0.0-alpha2 info: label: Partners API description: 'Partners API. 2 operations. Lead operation: Toast Get Connected Restaurants. Self-contained Naftiko capability covering one Toast business surface.' tags: - Toast - Partners API created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOAST_API_KEY: TOAST_API_KEY capability: consumes: - type: http namespace: partners baseUri: https://toast-api-server/partners/v1 description: Partners API business capability. Self-contained, no shared references. resources: - name: connectedRestaurants path: /connectedRestaurants operations: - name: connectedrestaurantsget method: GET description: Toast Get Connected Restaurants outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: lastModified in: query type: string description: Limits the return data to restaurants that changed their access - name: pageSize in: query type: integer description: Controls the number of `PartnerAccessExternalRep` objects that the - name: pageToken in: query type: string description: Returns a specific set of restaurants in the response value. You get - name: restaurants path: /restaurants operations: - name: restaurantsget method: GET description: Toast Get Accessible Restaurants outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: lastModified in: query type: string description: 'Limits the return data to restaurants that changed their ' exposes: - type: rest namespace: partners-rest port: 8080 description: REST adapter for Partners API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/connectedrestaurants name: connectedrestaurants description: REST surface for connectedRestaurants. operations: - method: GET name: connectedrestaurantsget description: Toast Get Connected Restaurants call: partners.connectedrestaurantsget with: lastModified: rest.lastModified pageSize: rest.pageSize pageToken: rest.pageToken outputParameters: - type: object mapping: $. - path: /v1/restaurants name: restaurants description: REST surface for restaurants. operations: - method: GET name: restaurantsget description: Toast Get Accessible Restaurants call: partners.restaurantsget with: lastModified: rest.lastModified outputParameters: - type: object mapping: $. - type: mcp namespace: partners-mcp port: 9090 transport: http description: MCP adapter for Partners API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: toast-get-connected-restaurants description: Toast Get Connected Restaurants hints: readOnly: true destructive: false idempotent: true call: partners.connectedrestaurantsget with: lastModified: tools.lastModified pageSize: tools.pageSize pageToken: tools.pageToken outputParameters: - type: object mapping: $. - name: toast-get-accessible-restaurants description: Toast Get Accessible Restaurants hints: readOnly: true destructive: false idempotent: true call: partners.restaurantsget with: lastModified: tools.lastModified outputParameters: - type: object mapping: $.