{"serverId":"mcp-registry/sh.agentdrive/agentdrive","tools":[{"name":"drive_delete","fixed":{"name":"drive_delete","description":"Delete a file from a workspace.","inputSchema":{"type":"object","required":["workspace_id","file_id"],"properties":{"file_id":{"type":"string","description":"File ID to delete"},"workspace_id":{"type":"string","description":"Workspace ID"}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: true, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":86,"tokensAfter":86},{"name":"drive_invite","fixed":{"name":"drive_invite","description":"Invite a human to your organization by email. They will receive a verification code to join.","inputSchema":{"type":"object","required":["email"],"properties":{"role":{"enum":["owner","admin","member"],"type":"string","default":"member","description":"Role in the organization (default: member)"},"email":{"type":"string","description":"Email address of the human to invite to your organization"}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":130,"tokensAfter":130},{"name":"drive_list","fixed":{"name":"drive_list","description":"List files in a workspace, optionally filtered by path prefix.","inputSchema":{"type":"object","required":["workspace_id"],"properties":{"prefix":{"type":"string","description":"Path prefix filter (e.g. \"notes/\")"},"workspace_id":{"type":"string","description":"Workspace ID"}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":97,"tokensAfter":97},{"name":"drive_log_run","fixed":{"name":"drive_log_run","description":"Log an agent run to AgentDrive's provenance store. Captures task, status, referenced/produced artifacts, and cross-platform identity (which agent on which tool). Used for retrospective context retrieval and team-wide audit.","inputSchema":{"type":"object","required":["task"],"properties":{"task":{"type":"string","minLength":1,"description":"What the agent did or is doing (free text)"},"run_id":{"type":"string","description":"Existing run ID to update; omit to let server allocate"},"status":{"enum":["success","failure","partial","in_progress"],"type":"string","description":"Run outcome (default success)"},"metadata":{"type":"object","description":"Free-form key/value metadata","additionalProperties":{}},"duration_ms":{"type":"integer","minimum":0,"description":"Wall-clock duration in milliseconds"},"artifacts_produced":{"type":"array","items":{"type":"string"},"description":"Paths of artifacts the run wrote"},"artifacts_referenced":{"type":"array","items":{"type":"string"},"description":"Paths of artifacts the run read"}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":308,"tokensAfter":308},{"name":"drive_read","fixed":{"name":"drive_read","description":"Read a file's content from a workspace.","inputSchema":{"type":"object","required":["workspace_id","file_id"],"properties":{"file_id":{"type":"string","description":"File ID to read"},"workspace_id":{"type":"string","description":"Workspace ID"}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":87,"tokensAfter":87},{"name":"drive_sandbox_exec","fixed":{"name":"drive_sandbox_exec","description":"[EXPERIMENTAL] Run a shell command inside the per-workspace Linux sandbox. Captures stdout/stderr (64 KB cap), exit code, duration. Requires Cloudflare Containers; degrades to 503 otherwise.","inputSchema":{"type":"object","required":["workspace_id","cmd"],"properties":{"cmd":{"type":"string","maxLength":2048,"minLength":1,"description":"Shell command to run inside the per-workspace Linux sandbox"},"cwd":{"type":"string","description":"Working directory (default: workspace root)"},"timeout_ms":{"type":"integer","maximum":60000,"description":"Max runtime in ms (default 30000, hard cap 60000)","exclusiveMinimum":0},"workspace_id":{"type":"string","description":"Workspace whose sandbox to run in"}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":217,"tokensAfter":217},{"name":"drive_sandbox_read","fixed":{"name":"drive_sandbox_read","description":"[EXPERIMENTAL] Read a file from the per-workspace sandbox filesystem (build artifacts, test output, logs). Requires Cloudflare Containers; degrades to 503 otherwise.","inputSchema":{"type":"object","required":["workspace_id","path"],"properties":{"path":{"type":"string","description":"Path inside the sandbox (e.g., src/index.ts or /tmp/build.log)"},"workspace_id":{"type":"string","description":"Workspace whose sandbox to read from"}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":143,"tokensAfter":143},{"name":"drive_search","fixed":{"name":"drive_search","description":"Semantic search across your org's artifacts in AgentDrive. Returns the top-N most relevant files. Use this BEFORE writing similar artifacts to avoid duplication and surface prior context.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","maxLength":2000,"minLength":1,"description":"Search query"},"top_k":{"type":"integer","maximum":50,"description":"Max hits to return (default 10, max 50)","exclusiveMinimum":0},"filter":{"type":"object","properties":{"agent_id":{"type":"string"},"path_prefix":{"type":"string"},"agent_platform":{"enum":["claude-code","codex","cursor","langgraph","crewai","autogen","hermes","openclaw","opencode","gemini-cli","unknown"],"type":"string"}},"additionalProperties":false},"workspace_id":{"type":"string","description":"Scope to a single workspace; omit for org-wide search"}},"additionalProperties":false},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":257,"tokensAfter":257},{"name":"drive_write","fixed":{"name":"drive_write","description":"Write a markdown file to a workspace. Creates or updates the file with automatic versioning.","inputSchema":{"type":"object","required":["workspace_id","path","content"],"properties":{"path":{"type":"string","description":"File path (e.g. \"notes/meeting.md\")"},"content":{"type":"string","description":"File content (markdown)"},"message":{"type":"string","description":"Optional version message"},"workspace_id":{"type":"string","description":"Workspace ID to write to"}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":151,"tokensAfter":151}],"toolsChanged":9,"tokensSaved":0,"todo":[{"tool":"drive_search","params":["filter"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}