graphql_mutate
Execute a GraphQL write operation (mutation) to create, update, or delete data. Provide the mutation query and optional variables; enabled only when GRAPHMCP_ALLOW_MUTATIONS=1 is set.
Instructions
Execute a GraphQL mutation (write operation).
Only permitted when the server is started with GRAPHMCP_ALLOW_MUTATIONS=1. Example:
mutation($input: CreatePostInput!) { createPost(input: $input) { id } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mutation | Yes | ||
| variables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||