use_prompt
Execute registered prompt templates to run wizards, workflows, and guided interactions in the Letta system.
Instructions
Execute a registered prompt template. Use this to run wizards, workflows, and guided interactions.
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": {
"prompt_name": "<prompt_name>"
},
"name": "use_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_name | Yes | Name of the prompt to execute (e.g., letta_agent_wizard, letta_memory_optimizer) | |
| arguments | No | Arguments to pass to the prompt (depends on the specific prompt) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | Messages returned by the prompt | |
| description | No | Description of the prompt | |
| prompt_name | Yes | Name of the executed prompt |