get_endpoint_specification
Get the exact specification, query/body parameters, allowed filter values (such as sort_by), 200 OK JSON response schema, and ready-to-use code snippets (Python, JavaScript, cURL) for any TG-Market API v2 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": {
"endpoint_id_or_path": "<endpoint_id_or_path>"
},
"name": "get_endpoint_specification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id_or_path | Yes | Endpoint ID (e.g. 'rent_gifts_browse', 'buy_stars', 'rent_create_order') or path (e.g. '/api/v2/rent/gifts'). |