get_directive_by_name
Retrieve a directive's workflow steps, preferences, and linked notes by name. Always load before executing workflow steps.
Instructions
Load a directive's workflow steps, preferences, and linked notes by name. ALWAYS call BEFORE executing any workflow — directives are the authoritative source, not memory.
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": {
"directive_name": "<directive_name>"
},
"name": "get_directive_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directive_name | Yes | Directive name to look up | |
| project_root | No | Project root directory. When provided, also retrieves directive preferences from user_preferences.db and linked notes (send_with_directive=1) from project.db. |