get_query_results
Retrieve the output of a completed Athena query by providing its execution ID. Supports pagination and result limits for efficient data retrieval.
Instructions
Get results from a completed query
Args: query_execution_id: Query execution ID max_results: Maximum number of results to return next_token: Token for pagination
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": {
"query_execution_id": "<query_execution_id>"
},
"name": "get_query_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_token | No | ||
| max_results | No | ||
| query_execution_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |