Start Or Stop Task
AgentTools API
Start Or Stop Task
Start or stop an existing Octoparse task through AgentTools.
POST
Start Or Stop Task
The request body, generated cURL example, and response schema are shown in the API panel.
Request body
taskId and action are required.Actions
Allowed
action values are start and stop.Status values
Status values
start_requested and stop_requested mean the request was accepted.already_running and already_stopped mean no state change was needed.start_rejected, stop_rejected, and invalid require client-side handling or user review.Response guidance
Response guidance
Follow
retryGuidance, suggestedNextCall, workflow, and toolHint instead of hard-coding polling intervals.