drive_context
Retrieve relevant artifacts from prior agent sessions to ground your current task. Uses semantic relevance and recency to auto-pull context, replacing manual copy-paste.
Instructions
Auto-pull the most relevant artifacts from prior agent sessions for the task you are about to do. Combines semantic relevance with recency. Call this at the START of any non-trivial task to ground the agent in prior context — replaces manual copy-paste of artifacts between sessions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "drive_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What you are about to do — used to rank prior artifacts by relevance | |
| limit | No | Max artifacts to return (default 5, max 20) | |
| workspace_id | No | Scope to a single workspace; omit for org-wide context |