execute_metadata
Run raw GraphQL queries or mutations against Twenty CRM's Metadata API to manage custom objects, fields, and relations.
Instructions
Run any raw GraphQL query or mutation against the Twenty Metadata API (schema management: custom objects, fields, relations).
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_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The GraphQL query or mutation string | |
| variables | No | Optional variables for the query |