What a tool defines
A tool includes:- A name and description the model can understand.
- A parameter schema.
- Prompt links that make the tool available during runs.
- A title, icon, description, folder position, and project ownership metadata.
Tool schema guidance
Good tool definitions are boring in the best way:- Use stable names that describe the action, not the implementation.
- Keep descriptions short but specific about when the tool should be called.
- Prefer explicit parameter names and types.
- Mark required fields carefully.
- Avoid broad free-form objects unless your backend truly accepts them.
- Include enum values when the allowed values are known.
Tool workflow
Define parameters
Add a JSON schema that describes the allowed input. Keep names explicit and avoid broad free-form objects unless your backend expects them.
Configure execution
If Adaline should execute the tool, configure the HTTP method, URL, headers, and body mapping.
Link the tool to prompts
Open a prompt and attach the tool so it is available in playground, evaluation, deployment, and production runs.
Tools and deployment
When a prompt is deployed, the deployment snapshot captures the prompt’s tool configuration. If you change a project tool later, confirm whether the deployed prompt needs a new deployment snapshot before assuming production behavior changed.Tool evidence in Traces
When a deployed prompt calls a tool, the call and response can appear as spans in Traces. Use those spans to inspect:- Tool arguments.
- Tool responses.
- Latency and errors.
- Whether the assistant used the returned data correctly.
Debugging tool issues
When a tool-related trace fails, check these in order:- The prompt instructions around when to call the tool.
- The tool description and parameter schema.
- The actual arguments generated by the model.
- The HTTP request and response, if Adaline executes the tool.
- The assistant response after the tool returned.
- Related Behaviors for repeated tool misuse.
Create and link tools
Define reusable project tools and attach them to prompts.
Test and debug tools
Verify tool calls through playground runs, traces, evaluators, and behaviors.