invoke_llm
Send instructions to a language model and receive generated text. Choose from multiple LLM engines for customization.
Instructions
Invoke a language model (LLM) to generate text based on input instructions.
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": {
"instructions": "<instructions>",
"llm_engine": "<llm_engine>"
},
"name": "invoke_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instructions | Yes | Enter detailed instructions for the language model, such as 'Write a summary of the document' or 'Create an engaging email subject line. | |
| llm_engine | Yes | LLM model to use for text generation. | gpt4o |