Skip to content

stop_agent

Stop an in-progress child agent in a Polygraph session.

Use this to cancel a delegated task that is still in-progress.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID, or a supported Polygraph app session URL. Supported URL paths are /s/<session-id> and /orgs/<org-id>/sessions/<session-id>. URL inputs are normalized to the session ID; the MCP always uses the current Polygraph API configuration.
repostringyesRepo name or ID to stop
rolestringnoOptional role identifying which of the repo's agents to target; omit for the default agent.