get_current_workspace
Resolve an absolute workspace path to its bound repository and parent component, giving you the full context for the code you're working in.
Instructions
Resolve a workspace path to its bound repo (and parent component, if any).
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>"
},
"name": "get_current_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | absolute path to check. The MCP client supplies this from its Roots; ContextForge does not read Roots directly in v0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||