read_named_query
Reads a named query's SQL and parameters by path from an Ignition project, returning decoded query.json for inspection or reuse.
Instructions
Read a named query's SQL and parameters.
Args:
query_path: Named query path, e.g. Production/GetCounts.
project: Project name; defaults to the active project.
Returns:
The decoded query.json resource.
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_path": "<query_path>"
},
"name": "read_named_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| query_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||