reactome_cypher_query
Query the Reactome Neo4j graph database with read-only Cypher statements to analyze biological pathways, while safeguards prevent writes and cap result sizes.
Instructions
Run a Cypher query against the local Reactome Neo4j graph database. The session runs in READ mode, which rejects native write clauses (CREATE/MERGE/DELETE/SET/REMOVE). APOC procedures that can write through that guardrail (apoc.cypher.runWrite, apoc.periodic., apoc.create/merge/refactor., apoc.load/import/export., apoc.trigger., apoc.nodes.delete) are rejected before execution. Row count, per-row size, and total response size are capped; a query timeout terminates runaway queries. Use LIMIT and project specific fields in your query for large results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Cypher query to execute (read-only; max 50000 chars) | |
| params | No | Optional parameter map passed to the query | |
| max_rows | No | Maximum rows to return (default 100, cap 1000) | |
| max_row_chars | No | Maximum JSON chars per row before replacing with a summary (default 2000, cap 20000) | |
| max_total_chars | No | Maximum total JSON chars across all rows before truncation (default 40000, cap 200000) |