execute_graphql
Run raw GraphQL queries or mutations on Twenty CRM to read or modify data, with optional variables for dynamic operations.
Instructions
Run any raw GraphQL query or mutation against Twenty.
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>"
},
"name": "execute_graphql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The GraphQL query or mutation string | |
| variables | No | Optional variables for the query |