execute_query
Execute GraphQL queries or mutations with variables on the Bloomy MCP server. Parses and runs operations, returning results or error messages for data interactions with the Bloom Growth platform.
Instructions
Execute a GraphQL query or mutation with variables.
Parses and executes the provided GraphQL operation string with optional variables.
Args:
query: Raw GraphQL query or mutation string
variables: Optional dictionary of variables to use in the operation
Returns:
Dictionary containing the operation results or an error message string
Raises:
Exception: Handled internally, returns error message as string
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | ||
variables | No |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"title": "Query",
"type": "string"
},
"variables": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Variables"
}
},
"required": [
"query"
],
"title": "execute_queryArguments",
"type": "object"
}