Get BANKSapi OpenAPI spec
get-banksapi-openapi-specGet an OpenAPI 3.0 specification for a BANKSapi API, or a targeted slice of one. Available specs: banks-connect (main API), ai-connect (AI features), pay-connect (payments). Pass operation_id to get just that operation with the schemas it references (strongly preferred — the full specs are large). Pass tag to get every operation of one section. With neither, returns the entire spec. To discover operationIds and tags, fetch the API index via get-banksapi-docs-page('/api/<spec_name>'). Returns YAML for YAML specs, JSON for JSON specs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec_name": "<spec_name>"
},
"name": "get-banksapi-openapi-spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| spec_name | Yes | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |