opencode_vcs_info
Retrieve version control status and metadata for a project directory to identify branch, changes, and repository context. Defaults to the server project when no directory is set.
Instructions
Get VCS (version control) info for the current project.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opencode_vcs_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. |