find_bug
Debug your code by comparing it to the problem description, locating logical errors, boundary flaws, and runtime bugs.
Instructions
Search for logical errors, boundary flaws, or runtime bugs in the code.
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": {
"problem": "<problem>",
"code": "<code>"
},
"name": "find_bug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | User code to debug. | |
| problem | Yes | The full text of the problem description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||