yc_register_operation
Persist a named GraphQL document locally without executing it; use variables for secrets and require explicit replacement to overwrite an existing name.
Instructions
Persist an observed named GraphQL document locally, without executing it. Do not inline secrets or personal values; use variables. Existing names require explicit replacement.
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": "<query>",
"operationName": "<operationName>"
},
"name": "yc_register_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| replace | No | ||
| description | No | ||
| operationName | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| untrustedContent | Yes |