Skip to main content
context_gsc_import Import an existing-agent handoff snapshot (JSON lines or a Markdown table) in the gsc.jsonl row shape, instead of granting anything. The connector stays named in retrieved_by and is never re-labeled as fetched by us; its capture date stays captured_at, separate from any later fetch of ours; rows missing window, aggregationType or retrieved_by are refused per file with what is missing; a connector row whose key matches a row we fetched is refused , ours is kept. A handoff and a grant may coexist, rows kept distinct by retrieved_by.
Repository-local stdio MCP only. This tool is absent from hosted MCP and HTTP. It can write local context files or fetch bounded public context.

Setup and request

Start the local context host with an explicit repository root. Paths are restricted to that root, including symlink resolution.

Input fields

Returned result

Captured from a local fixture repository without external credentials.
Parse errors set isError; per-row refusals can coexist with accepted rows. Connector names and capture dates retain their original provenance. Download result schema.

Result and recovery

The host returns JSON in both structuredContent and text content. The local context reference describes each result, file ownership and recovery. Start/end dates must be supplied together. Thrown input or file failures return isError: true. Missing manual/profile files and unresolved citations also flag an error. Inspect returned connection states separately: revoked or unavailable access can be result data. Manual-only configuration is valid. See local context, CLI context commands and schema conventions.