List Compilers
list_compilersRetrieve all available compilers and languages supported by OnlineCompiler.io, including their IDs and names, so you can choose the correct compiler ID for run_code.
Instructions
List all available compilers/languages supported by OnlineCompiler.io.
Returns a list of compiler objects with id and name. Use the id value as the compiler argument when calling run_code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_compilers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |