update_code_to_pep8
Automatically reformat Python code to comply with PEP8 style guidelines, ensuring consistent formatting and improved readability for algorithmic trading scripts.
Instructions
Update Python code to follow PEP8 style.
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": "update_code_to_pep8"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | State of PEP8 conversion. | |
| payload | No | A dictionary where the key is the file name and the value is the PEP8 converted code of that file. | |
| version | No | Version of the response. | |
| payloadType | No | Type of the payload. |