Skip to content
v1.0.3 Updated Verified

Add in-call tools ​

Add an agent-owned integration only when the call must use an external result or side effect.

Start from a proven tool pattern ​

NeedStudy
Allow tools only after a gateF08 Stage-Gated Tools
Wait for a later resultF09 Wait Integration
Relay after call closeF10 Fire-and-Forget Post
Call tools in a strict orderF11 Ordered Integration Chain
Keep trusted data away from the modelF12 Integration Context
Build the smallest custom ComponentF13 Agent-Owned WASM

Use the example catalog to select a pattern. Open the selected source tree through the installed dino-ping skill.

Execution flow ​

Model tool call
Flow policy gate
reject
Correct the model on the same stage
allow
Plugin validate
reject
Return the plugin's precise reason
accept
Plugin execute
Return or inject the operation result

Test the operation ​

Use the target deployment's reviewed runtime policy.

text
dino integration test --policy <runtime-policy.toml> \
  --component <component.wasm> --operation <operation> \
  --args <args.json> --record <record.json> --phone <e164> \
  --context <context.json> --config <config.json> \
  --confirm-mutation integration.test

Omit --phone or --config when the operation does not need that data.

Gotchas ​

  • Local integration tests can make real HTTPS requests.
  • verify checks the ABI. test runs validation and execution.
  • Do not reuse an example's integration ID.
  • Do not commit generated plugins/ files.
  • Do not add secrets to static configuration or source.
  • A wait-mode deadline must leave time for network and result delivery.

Next ​

Return to Test your agent before publication.