Read the project's code
read_sourceThe project's code at while, without changing anything: a folder (empty path or ending in /) gives its file list; a file, its content, in pages of 60,000 characters; archive: true, the archive link of a deployed version.
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": "read_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A folder (empty, or ending in /): its list; a file: its content. | |
| start | No | A file: the first line returned (the rest of a long file, given by the response). | |
| trial | No | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. | |
| format | No | archive: the archive's form. | auto |
| archive | No | true: the archive link of a deployed version. | |
| project | No | The project. | |
| version | No | archive: the version number; the live version by default. | |
| environment | No | archive: the version's environment (production by default). | production |