read_file
Retrieve file contents from QuantConnect algorithmic trading projects to access strategy code, configuration files, or project documentation for analysis and execution.
Instructions
Read a file from a project, or all files in the project if no file name is provided.
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": {
"model": "<model>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | List of project file information. | |
| errors | No | List of errors with the API call. | |
| success | No | Indicate if the API request was successful. |