run_macro
Execute predefined macros to generate or update notes, tasks, or projects with custom arguments and variables.
Instructions
Run a predefined macro using the mdv CLI.
Args: name: The name of the macro to run (e.g., 'daily-standup', 'new-project') args: Optional list of positional arguments to pass to the macro variables: Optional dictionary of variables to pass to the macro (--var k=v)
Returns: Output of the macro execution or error message.
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": "run_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| name | Yes | ||
| variables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |