beagle_stop_test
Stop a running security test in Beagle Security by providing the application token to halt ongoing assessments.
Instructions
Stop a running test
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| applicationToken | Yes | Application token |
Implementation Reference
- src/index.ts:568-584 (handler)The `stopTest` function handles the implementation of the `beagle_stop_test` tool, making a POST request to `/test/stop` with the application token.
private async stopTest(args: any) { const result = await this.makeRequest("/test/stop", { method: "POST", body: JSON.stringify({ applicationToken: args.applicationToken, }), }); return { content: [ { type: "text", text: `Test stopped:\n${JSON.stringify(result, null, 2)}`, }, ], }; } - src/index.ts:229-230 (registration)Registration of the `beagle_stop_test` tool definition.
name: "beagle_stop_test", description: "Stop a running test", - src/index.ts:231-236 (schema)Input schema for the `beagle_stop_test` tool.
inputSchema: { type: "object", properties: { applicationToken: { type: "string", description: "Application token" }, }, required: ["applicationToken"],