cypher_create_query
Operator-only: publish a new named Cypher query template.
The template must reference each declared parameter as $name (binding, not interpolation). param_schema maps param name -> {"type": ..., "required": true|false}; types: string, int, float, bool, list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Stable, human-meaningful key (e.g. 'holdings_by_sector'). | |
| npub | No | Required. The operator's npub (npub1...). | |
| row_limit | No | Max rows returned (default 1000). | |
| dpop_token | No | ||
| timeout_ms | No | Best-effort query timeout (default 5000). | |
| access_mode | No | 'read' (default) or 'write'. | read |
| description | No | Human-readable description of what the query returns. | |
| param_schema | No | Declared parameters and their types. | |
| cypher_template | Yes | Parameterized Cypher using $param placeholders. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||