This method sends a stop request to the agent, terminating its current execution. The agent will stop processing its current task immediately

Signature

def stop(self) -> notte_sdk.types.AgentResponse

Returns

AgentResponse: The response from the stop operation.

Raises

  • ValueError: If the agent hasn’t been run yet (no agent_id available).