Patch Writeup
Last updated
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:
Call get_args_schema_for_tool(tool="patch_writeup") to retrieve the current JSON Schema for args.
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.
Go to Users
Select the user you would like to provide access to this tool
Click on Access > MCP
Click on Add Tools
Select the tool patch_writeup and click Add
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.
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.
Last updated
{
"id": "656168055d7035a12ade4cb3"
}