Check Codegraph CLI setup status
codegraph_setup_statusDetects whether the official Codegraph CLI is installed on the target computer, returns install/register/init guidance, and the MCP Gateway registry_hint (default CODEGRAPH_MCP_TOOLS=explore,impact). This is AiLinkAny setup readiness, not the upstream Codegraph MCP tool codegraph_status (index health). Call before multi-file remote coding when system_capabilities did not already show Codegraph as installed. Recommended accelerator; not required for ordinary computer control. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codegraph_setup_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| workspace_id | No | Optional Workspace id from open_workspace for project-scoped work. | |
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||