opencode_path_get
Retrieve the active working directory of the OpenCode server. Specify an absolute project path to get the path for that project instead.
Instructions
Get the current working path of the opencode server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |