query__country
Fetches country details by its unique code from the GraphQL API, returning default scalar fields or a specified selection set.
Instructions
[QUERY] country
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": {
"code": "<code>"
},
"name": "query__country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | (ID!) | |
| __fields | No | GraphQL selection set for the return type, e.g. '{ id name description }'. If omitted, only scalar/id fields are returned. | |
| bearer_token | No | Bearer token to authenticate this request (overrides GRAPHQL_TOKEN) | |
| custom_headers | No | Additional request headers as key-value pairs, e.g. {"X-Tenant-ID": "abc"} |