browse_source
Browse repository source files at any branch, tag, or commit. Specify a path to view file or directory contents.
Instructions
Browse repository source files at a specific ref (branch/tag/commit).
Args: path: File or directory path (empty for root) ref: Branch name, tag, or commit hash (default "main") workspace: Workspace slug repo: Repository slug
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": "browse_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | main | |
| path | No | ||
| repo | No | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |