query
Run SQL, MongoDB, or Athena commands on a selected storage connection to retrieve or manage data through one consistent interface.
Instructions
Execute a query on any storage (SQL for RDB/Athena, NoSQL query for MongoDB, etc.)
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": {
"storage_id": "<storage_id>",
"query": "<query>"
},
"name": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Query to execute (SQL, MongoDB query JSON, etc.) | |
| parameters | No | Optional query parameters | |
| storage_id | Yes | Storage connection ID to use |