Get Command Lua function
cmo_get_functionFetches the official Command Lua documentation page for a named function; use cmo_search_api first when the exact function name is uncertain.
Instructions
Fetch one function's page from the official Command Lua docs (commandlua.github.io). Use cmo_search_api if you are not sure of the exact name.
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": {
"name": "<name>"
},
"name": "cmo_get_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Function name, for example ScenEdit_AddUnit |