adk_parallel_tool behaviour (erlang_adk v0.7.0)

View Source

Opt-in behaviour for tools that are safe to execute concurrently.

Existing adk_tool implementations require no change and remain serial. A tool may additionally implement this behaviour and return true, or a resolved tool call may carry parallel_safe => true metadata.

Summary

Callbacks

parallel_safe/0

-callback parallel_safe() -> boolean().