falkordb_query
Execute Cypher queries on FalkorDB graphs to retrieve, filter, and manipulate data. Supports parameterized queries and returns results in JSON, markdown, or raw format.
Instructions
Execute a Cypher query against FalkorDB.
Sends a Cypher query to FalkorDB and returns results in the specified format. Supports parameterized queries for safety and flexibility.
Args: params (QueryInput): Validated parameters: - query (str): Cypher query to execute - graph (str): Graph name (required) - params (dict): Query parameters/variables - response_format (str): 'json', 'markdown', or 'raw'
Returns: str: Formatted query results
Examples: - Query: "MATCH (n:Person) RETURN n.name LIMIT 10" - Parameterized: "MATCH (n:Person {name: $name}) RETURN n" - With filter: Create index, match patterns, return results
Errors: - Syntax error: "Invalid Cypher syntax" - Graph not found: "Graph 'xyz' does not exist" - Connection error: "Cannot connect to FalkorDB"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |