For the complete documentation index, see llms.txt. This page is also available as Markdown.

Patch Writeup

Description

Patches an existing AttackForge writeup (also called a writeup template). Only the fields supplied in args are changed; omitted fields are left untouched.

A two-step workflow is required:

  1. Call get_args_schema_for_tool(tool="patch_writeup") to retrieve the current JSON Schema for args.

  2. Build args to match that schema and call this tool.

The schema requires at minimum a writeup id (source: find_writeups). Preconditions: the caller needs Edit access to the writeup (and to the target library when moving it). Any rich-text field must use the AttackForge richtext format from the richtext_format block. On success the patched writeup id is returned.

How To Enable

  1. Go to Users

  2. Select the user you would like to provide access to this tool

  3. Click on Access > MCP

  4. Click on Add Tools

  5. Select the tool patch_writeup and click Add

Example Prompts

  • Update the remediation recommendation on the XSS writeup.

  • Change the severity of writeup X to 8.

  • Move this writeup into the Main library.

  • Add the "OWASP Top 10" tag to writeup X.

Parameters

Parameter
Type
Required
Description

args

object

Yes

The writeup-patch payload. Build it to satisfy get_args_schema_for_tool(tool="patch_writeup"). Requires at minimum a writeup id; other keys apply a partial update.

Example Response

Last updated