Discover available tools and the target
Use the client’s tool list or search_tools if available. For a linked Desktop, list the available devices and workspaces and select the intended target using the tools your connection exposes.
Start with the smallest useful read
If exposed, use git_status for current changes, git_diff for the diff and read_file for a specific file. Check the target first and request only the context you need.
Keep patch intake and verification separate
submit_patch and submit_suggested_checks can request work when available. Check the patch state and the check result separately in Inspect. A proposal or check request alone does not confirm execution.
Check the selected workspace’s effective policy
On a connection that exposes them, inspect_authority reports authority and the capability_to_mcp_tools mapping, and inspect_limits reports the relevant limits. Check live_policy_state when present for the active profile, policy revision and limits multiplier. Use the MCP tool names returned by the connection when making calls.
The gdp-capability/1 manifest advertises nine internal runtime capabilities: fs.list.v1, fs.read.v1, fs.search.v1, git.status.v1, git.exec.v1, patch.local.v1, terminal.exec.v1, workbench.surface.v1 and git.publish.v1. Tool visibility comes from the connected client and its exposure settings. Execution still depends on the selected workspace and the effective local policy.
Read a batch result or publication receipt
When submit_suggested_checks returns aggregate_outcome, read it alongside the per-command results. FULL_SUCCESS means the batch succeeded. PARTIAL_SUCCESS means only part succeeded. POLICY_BLOCKED and EXECUTION_FAILED identify policy and execution failures respectively. A queued request can still be awaiting action.
Where offered, use probe_git_publication_admission to check readiness, request_git_publication to request an explicit commit or commit-and-push, and inspect_git_publication to read the recorded result. Use execute_plan for supported read-only steps. Keep patch and publication requests out of read-only plans.
Confirm routing for the exact device and workspace
On a hosted connection using gdp-capability/1, use select_gdp_node to choose the intended device and workspace when that tool is available. A device with several open workspaces can require an explicit workspace selection. If the tool reports routing_enforced and Signed Execution Context support, the gateway can bind routed work to the selected device and workspace cryptographically.
Before sending a local request, read the current selection with get_selected_gdp_node when exposed. After switching devices, repositories or client sessions, confirm the target again. The selection defines the destination. The effective local policy decides what can run there.
For supported read-only calls, execute_plan can run independent reads or bind an earlier result to a later step when the relevant mode is available. A write step in a read-only plan returns READ_ONLY_PLAN_VIOLATION. Handle the rejected plan before requesting any separate change.