cypher_publish_tool
Operator-only: expose a catalog query as a named, typed MCP tool.
Projects the published query as a first-class tool named cypher_<key>
whose flat, typed parameters come from the query's param schema (e.g.
cypher_find_airline_flights(from_city, to_city)). The tool is registered
immediately but starts unpriced — it appears in Pricing Studio like any
new tool; set its price there. Until priced, calls return "not priced yet
(TBD)". Patrons then call it by name with typed params instead of
execute_query_by_key.
The key must be a valid tool identifier (^[a-z][a-z0-9_]*$). Reconnect to see the new tool in the tool list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | An existing catalog query key (see ``list_queries``). | |
| npub | No | Required. The operator's npub (npub1...). | |
| dpop_token | No | ||
| tool_intent | No | One-line description shown as the tool's purpose (defaults to the query's description). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||