-
Notifications
You must be signed in to change notification settings - Fork 434
Termination API Usage
Igor Dayen edited this page Apr 9, 2026
·
1 revision
| API | Called From | Result | Takes Effect | Use When |
|---|---|---|---|---|
terminateAgent(result) |
Internal (tool) | Yes | After current action completes | Action produces result, agent should stop |
kill() |
External (admin/timeouts, etc.) | No | After current action completes | Force agent to stop |
terminateAgent(result) + kill() |
Internal (tool) | Yes | After current tool call | Action produces result, agent should stop immediately |
Definitions:
- After current action completes: All tool calls in current action are executed
- After current tool call: Remaining tool calls in current action are skipped
(c) Embabel Software Inc 2024-2025.