list_workflows
Retrieve all security workflows to monitor and manage Kubernetes and cloud security operations within RAD Security's platform.
Instructions
List all workflows
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/operations/workflows.ts:147-155 (handler)Core handler function that executes the API call to list all workflows using the RadSecurityClient.export async function listWorkflows( client: RadSecurityClient ): Promise<any> { const response = await client.makeRequest( `/accounts/${client.getAccountId()}/workflows` ); return response; }
- src/operations/workflows.ts:27-27 (schema)Zod schema defining the input parameters for the list_workflows tool (empty object, no parameters required).export const ListWorkflowsSchema = z.object({});
- src/index.ts:507-511 (registration)Tool registration in the ListTools response, defining name, description, and input schema for list_workflows.{ name: "list_workflows", description: "List all workflows", inputSchema: zodToJsonSchema(workflows.ListWorkflowsSchema), },
- src/index.ts:1386-1393 (handler)MCP server handler for the list_workflows tool call, parses args, invokes the core listWorkflows function, and formats response.case "list_workflows": { workflows.ListWorkflowsSchema.parse(request.params.arguments); const response = await workflows.listWorkflows(client); return { content: [ { type: "text", text: JSON.stringify(response, null, 2) }, ], };