Run Cypher
run_cypherRun openCypher queries against a graph database to read or modify data, returning structured columns and rows.
Instructions
Execute an openCypher query on a specific graph database. Supports read queries (MATCH) and write/modifying queries (CREATE, SET, DELETE, MERGE, REMOVE). Returns an object with columns (list of result column names) and rows (list of result rows as dicts keyed by column).
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": {
"graph_name": "<graph_name>",
"cypher_query": "<cypher_query>"
},
"name": "run_cypher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| cypher_query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||