ExAgent.Tool.FollowUp (ExAgent v3.0.0)

View Source

Tools for scheduling a new turn in the current durable Server conversation.

Stability — Candidate.

Add the tools to the agent definition and configure delivery with ExAgent.Continuation.Recovery. Execution uses the Server's scoped continuation Store. Tool permissions apply as usual. The tools accept root conversation turns and use the Store clock to enforce the due time.

Summary

Functions

Return schedule_follow_up, list_follow_ups and cancel_follow_up.

Functions

tools(store, opts \\ [])

@spec tools(ExAgent.Store.t(), keyword()) :: [ExAgent.Tool.t()]

Return schedule_follow_up, list_follow_ups and cancel_follow_up.

An unscoped ETS or PostgreSQL descriptor can build the same tool definitions for cataloguing. Execution requires the scoped Store of the current durable conversation. Tools built with an unscoped descriptor return a tool error.

:max_pending is per conversation (1–100, default 8). Admission accepts a due time between :min_delay_ms (default 1000) and :max_delay_ms (default 30 days), up to 4,294,967,295 ms. Scheduling from a turn opened by a job notice requires :allow_chaining, which defaults to false.