Query Table
query_tablePull data from a table. id is the numeric SSB table id; body is a PxWeb query object. Omitted dimensions with elimination collapse; otherwise select values per dimension.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "07459",
"body": {
"query": [
{
"code": "Region",
"selection": {
"filter": "item",
"values": [
"0301"
]
}
}
],
"response": {
"format": "json-stat2"
}
}
},
"name": "query_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric table id, e.g. "07459". | |
| body | Yes | {query: [{code, selection: {filter: "item", values: [...]}}], response: {format: "json-stat2"}} |