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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"applicationToken": "<applicationToken>"
},
"name": "beagle_stop_test"
}
}Input 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"],