beagle_modify_project
Update project details including name and description in Beagle Security's security testing platform to maintain accurate project information.
Instructions
Modify an existing project
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": {
"projectKey": "<projectKey>",
"name": "<name>",
"description": "<description>"
},
"name": "beagle_modify_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | Project key | |
| name | Yes | Project name | |
| description | Yes | Project description |
Implementation Reference
- src/index.ts:382-400 (handler)The handler function that performs a PUT request to the Beagle Security API to modify a project.
private async modifyProject(args: any) { const result = await this.makeRequest("/projects", { method: "PUT", body: JSON.stringify({ projectKey: args.projectKey, name: args.name, description: args.description, }), }); return { content: [ { type: "text", text: `Project modified successfully:\n${JSON.stringify(result, null, 2)}`, }, ], }; } - src/index.ts:92-103 (schema)The tool definition/schema for 'beagle_modify_project'.
name: "beagle_modify_project", description: "Modify an existing project", inputSchema: { type: "object", properties: { projectKey: { type: "string", description: "Project key" }, name: { type: "string", description: "Project name" }, description: { type: "string", description: "Project description" }, }, required: ["projectKey", "name", "description"], }, }, - src/index.ts:288-289 (registration)The registration of the tool handler within the request handler switch statement.
case "beagle_modify_project": return await this.modifyProject(args);