bind_workspace
Associate a local workspace path with a repository slug, enabling the system to return relevant context for that directory automatically.
Instructions
Associate a local workspace path with a repo slug.
Once bound, get_current_workspace(path) returns the repo slug so the LLM can auto-select relevant context when you're working in that dir.
The MCP client's Roots capability is the canonical source of the current workspace path; this tool expects that path passed in.
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": {
"path": "<path>",
"repo_slug": "<repo_slug>"
},
"name": "bind_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo_slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||