estimate_runtime
Check algorithm runtime safety by validating loops and node counts against problem constraints to prevent time limit exceedances.
Instructions
Estimate runtime safety by validating loops/nodes against constraints.
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>",
"algorithm": "<algorithm>"
},
"name": "estimate_runtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem | Yes | The full text of the problem description. | |
| algorithm | Yes | Name or description of the selected algorithm. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||