api_get
Sends a GET request to an API endpoint and returns its response, letting you fetch data from OpenAPI or Swagger services with query parameters, custom headers, and environment selection.
Instructions
GET request to an API endpoint
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": {
"url": "<url>"
},
"name": "api_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | API URL — absolute (https://host/path) or relative to the environment baseUrl (e.g. /users) | |
| params | No | Query parameters | |
| headers | No | Custom headers (merged on top of config + auth headers) | |
| maxChars | No | Max characters in the returned text (0 = unlimited; defaults to config.maxResponseChars). | |
| environment | No | Environment name (defaults to the active environment) | |
| includeHeaders | No | Include sanitized response headers in the result (default: false). |