lookup_gamemaker_function
Retrieves GameMaker Language function documentation by name, including optional code examples, to help developers understand and use GML functions.
Instructions
Look up GameMaker Language (GML) function documentation
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": {
"function_name": "<function_name>"
},
"name": "lookup_gamemaker_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_name | Yes | The name of the GML function to look up (e.g., "draw_sprite", "instance_create_layer") | |
| include_examples | No | Whether to include code examples in the response (default: true) |