Event
Send Event
Send an event to a running task. This is used for:
- Session actions:
run_task,goto,extract,evaluate_js,close - Custom tool responses: Responding to tool calls from the agent
The SDK handles this automatically when using session.run_task(), session.goto(), etc.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.smooth.sh/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Body
application/json
Event model for sending actions to running tasks.
Event type: browser_action, session_action, or tool_call.
Event payload. For actions: {name, input}. For tool responses: {code, output}.
Unique event ID. Used to match responses to requests.
Unix timestamp of the event.
Response
Event successfully sent.
Response model for send event operation.