macro-get
Get one macro with its command text: a chat command for type chat, JavaScript source for type script.
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": {
"macroId": "<macroId>"
},
"name": "macro-get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macroId | Yes | Macro ID (from macro-list) |