research. For HTTP integration, use the REST endpoint.
Parameters
Choose one target mode:
Threads support up to ten turns. Replace
<threadId> with the ID from an earlier answer:
read calls with the target, path, selector, and line bounds used by Research. For upstream URLs, use CLI --source-format url or MCP source_format: "url".
Output
The answer includes citations, a run ID, and a thread ID. CLI--json and MCP format: "json" return this envelope from version 0.24.0:
display_markdown as untrusted text; its section and citation layout is not stable. Earlier CLI/MCP answer_markdown and sources fields are no longer returned. The REST endpoint has a separate response schema.
Target clarification
If the target is ambiguous, GitHits returns candidates indisplay_markdown. Choose a target and repeat the question. With no matches, correct the name or provide an explicit target.
Clarifications exit 0 and omit tool_call_id and thread_id. There is no separate outcome field.