agent_llm_request
Send a prompt to an OpenAI-compatible LLM provider and get a generated response. Configure the model, temperature, max tokens, system prompt, and session.
Instructions
Make a request to an OpenAI-compatible LLM provider.
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": {
"session_id": "<session_id>",
"prompt": "<prompt>",
"model": "<model>"
},
"name": "agent_llm_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| prompt | Yes | ||
| base_url | No | ||
| provider | No | ||
| max_tokens | No | ||
| session_id | Yes | ||
| api_key_env | No | OPENAI_API_KEY | |
| temperature | No | ||
| system_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |