PublishPersistedQueries
Publish operations to a persisted query list, the same write that rover persisted-queries publish performs.
A persisted query list is the set of operations a router accepts when it is configured to reject anything else.
Operations you do not mention stay in the list unchanged: pass operations to add or replace entries, and remove to drop them.
Returns the new revision and the total operation count, or reports that nothing changed.
Use GetPersistedQueryListStatus to find the list ID and its current revision.
Provide the graph ID and the persisted query list ID.
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": {
"graphId": "<graphId>",
"listId": "<listId>"
},
"name": "PublishPersistedQueries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listId | Yes | ||
| remove | No | ||
| graphId | Yes | ||
| operations | No | ||
| allowOverwrittenOperations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |