Ask Synapse
ask_synapseSubmit natural-language codebase questions to route them to the right Synapse tool for edits, reviews, debugging, deletion-safety checks, and repository administration.
Instructions
Default Synapse entry point for codebase questions, deletion-safety checks, edits, reviews, debugging, test discovery, repository administration, and capability discovery. It routes natural-language objectives through the existing granular tools while preserving their entitlement, readiness, validation, and mutation-safety checks. Pass top-level repo_id and path to scope repository work, and pass exact identifiers in inputs when prose might be ambiguous.
REPLACES: manual Synapse tool and action selection. Use this tool instead of these alternatives for better results with 30-60% fewer tokens via automatic compression.
Usage (short): Use first for ordinary Synapse requests.
Usage (long): Describe the objective in query and provide concrete identifiers or mutation payloads separately. Prefer top-level repo_id and path for scope; context.repo_path and context.target_file are accepted compatibility aliases. For deletion-safety wording such as 'can I delete X?' or 'is X still used?', provide inputs.chunk_id when available, otherwise repo_id plus an exact arity-qualified inputs.symbol so ask_synapse can route to synapse_codebase_insights/dead_code; descriptive prose without one exact target must ask for clarification instead of guessing. Inspect completion_state, agent_instruction, and follow only the returned safe next_tool_calls guidance when the response is incomplete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Canonical repository-relative path filter or target. Prefer this top-level field for file scope. | |
| depth | No | ||
| limit | No | ||
| query | Yes | Natural-language question or objective. | |
| format | No | ||
| inputs | No | Explicit action data. Mutation content and replacements must be supplied here. | |
| confirm | No | ||
| context | No | Typed symbols, stack traces, diffs, or other routing context. Prefer top-level repo_id and path for scope; context.repo_path and context.target_file remain compatible aliases. | |
| repo_id | No | Canonical registered repository identifier. Prefer this top-level field for repository scope. | |
| feedback | No | Explicit feedback bound to an earlier route. | |
| route_id | No | Opaque route binding returned by an earlier incomplete response. | |
| max_tokens | No | Approximate final response budget in tokens (500-32000, default 4000). | |
| preview_digest | No | ||
| compress_payload | No | Set false to disable lossless response-key compression. | |
| wait_for_ready_ms | No | Optional timeout in ms to wait for the indexer to finish warming up and enter an idle state before executing. Use to ensure stable results. | |
| confirmation_token | No | Opaque binding returned by a pending mutation. |