create_file
Add a new file to a QuantConnect project. Specify the project ID, file name, and optional content to create Python scripts, C# files, or Jupyter notebooks.
Instructions
Add a file to a given project.
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": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Indicate if the API request was successful. | |
| errors | No | List of errors with the API call. |