
What A Tool Defines
| Part | Why it matters |
|---|---|
| Name | The action the model can choose, such as get_weather or search_docs. |
| Description | The decision boundary for when the model should use the tool. |
| Parameters | The structured inputs the model must provide. |
| Execution | Optional HTTP request configuration for automatic Playground tool calls. |
| Response shape | The data the model receives before it continues the conversation. |
How To Use Tools
Enable tool choice
Choose whether the model can call tools automatically, must call one, or should avoid tools for a run.
Test in Playground
Run the prompt and inspect the tool call arguments, tool response, and final model answer.
Tool Options
| Option | Use it when |
|---|---|
| Manual tool responses | You want to test how the model reacts before connecting a backend. |
| Auto tool calls | The tool has an HTTP backend Adaline can call during Playground runs. |
| API variables | You only need to fetch data into a prompt variable, not expose a callable tool. |
| MCP servers | You want to connect to a server that exposes standardized tools. |
What To Check
When a tool-enabled prompt behaves poorly, start with the evidence:- Did the model choose the right tool?
- Did it send the right arguments?
- Did the backend return the expected response?
- Did the prompt use the tool response correctly?
- Did tool latency or errors affect the final answer?
Next Steps
Use tools in prompt
Define tool schemas and attach tools to prompts.
Tool calls in Playground
Test manual and automatic tool-call flows.
Use MCP servers
Connect prompts to remote MCP tools.
Analyze log spans
Inspect tool-call spans, arguments, responses, and timing.