ask_local_llm
Offload lightweight text tasks to a local or cloud LLM by sending a prompt and receiving the generated response for summarization, classification, or quick analysis.
Instructions
LiteLLM経由でローカル/クラウドLLMにプロンプトを投げ、返答のテキストを受け取る。
要約・分類・ログの下読みなど、呼び出し元のメインエージェントが 自分でやるまでもない軽量なタスクをオフロードしたいときに使う。
Args: prompt: LLMに渡すプロンプト文字列。
Returns: LLMからの返答テキスト。接続エラーやタイムアウトの場合は、 その旨を説明する文字列を返す(例外は投げない)。
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": "<prompt>"
},
"name": "ask_local_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |