Cancel a WebMCP invocation
Changed onRequest best-effort cancellation and return the current handle. Completion can win the race. This does not roll back page side effects. Continue result reads if still pending. Requires an active session created with enableWebMcp: true and an API key with browser.sessions.update permission.
post/api/session/{id}/webmcp/invocations/{invocationId}/cancel
Request
- Base URLhttps://api.hyperbrowser.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Session ID.
invocationIdstring required
Response
Success
Changes
- info
endpoint added
- info