yc_prepare_mutation
Preview an exact GraphQL mutation, its variables, fields, and authenticated target without contacting YC. Supply a UUID idempotency key and review the dry run before committing the change.
Instructions
Preview the exact mutation, variables, fields and authenticated target without contacting YC. Supply a UUID idempotencyKey for this logical change. Requires --allow-mutations and any transport policy switch. Review before commit.
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>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "yc_prepare_mutation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| variables | No | ||
| operationName | Yes | ||
| idempotencyKey | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| untrustedContent | Yes |