update_code_to_pep8
Converts Python source files to follow PEP 8 style guidelines, standardizing code formatting and enhancing readability.
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. | |
| version | No | Version of the response. | |
| payload | No | A dictionary where the key is the file name and the value is the PEP8 converted code of that file. | |
| payloadType | No | Type of the payload. |