Read source files
source_filesLists a concrete version's files or reads one repository-relative file. File reads return ordinary UTF-8 content_text by default; binary files retain content_base64 with guidance. format base64 returns exact legacy bytes. An omitted commit_sha selects current main. Paths refer to the repository, never a local filesystem. API reference: https://docs.ohmyho.st/api-reference/read-managed-source-files.
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": {
"project_id": "<project_id>",
"format": "<format>"
},
"name": "source_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| format | Yes | text | |
| commit_sha | No | ||
| project_id | Yes |