prompt_from_file_tool
Read prompts from files and send them to multiple LLM models for comparison, streamlining agile development workflows with unified prompt delivery.
Instructions
Read a prompt from a file and send it to multiple LLM models.
Args:
file_path: Path to the file containing the prompt text
models_prefixed_by_provider: List of models in format "provider:model" (e.g., "openai:gpt-4").
If None, defaults to ["openai:gpt-4o-mini"]
Returns:
List of responses, one from each specified model
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": {
"file_path": "<file_path>"
},
"name": "prompt_from_file_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| models_prefixed_by_provider | No |