Check Code
check_codeStatically validate pyside-iconify Python code before running to catch unknown imports, invalid/misplaced parameters, bad icon names, invalid property values, and conflicting options.
Instructions
Check the pyside-iconify usage in a piece of Python code without running it. Finds unknown imports, unknown or misplaced parameters (for example hover_color on get_icon), invalid values (size, color, opacity, rotate, animation), conflicting options, malformed or non-existent icon names, and multi-color or animated icons used in ways that do not work. 'ok' is true when there are no errors. Only values written literally in the code are checked; anything else is listed under 'skipped' instead of being guessed. Run it on finished code and fix every error.
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": {
"code": "<code>"
},
"name": "check_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python source code to check (up to 200000 characters). | |
| verify_icon_names | No | Look up icon names online to confirm they exist and to check color and animation use. Set false to check offline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||