External tools are custom tools that your application runs. The agent can call the tool during a session, but Dari does not execute handler code for it. Instead, Dari emits a tool request and waits for your application to submit the result. Use an external tool when the handler needs to run in your own infrastructure, call private services, or use credentials that should not be available in the session sandbox.Documentation Index
Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
Use this file to discover all available pages before exploring further.
runtime, handler, or retries, because your application owns execution.
tool.call_requested and waits for your app to submit tool.result_submitted. You can receive requests by streaming session events or by configuring an agent webhook.
resultis raw JSON. Dari wraps it for the model.- Successful results are validated against
output_schemawhen present. - Error results use
is_error: trueand skip output-schema validation. - While waiting, the message status is
waiting_for_tool. - If
timeout_secondsexpires, Dari returns a timeout error to the model.