All tools
ToolDestructive

Update writing profile

update_writing_style_profile

You need to create, inspect, revise, cite, or add images to article drafts.

When to use it

You need to create, inspect, revise, cite, or add images to article drafts.

Typical workflow

List or read drafts, make complete replacement edits with optimistic concurrency, and insert visual blocks at stable markers.

What it returns

Draft metadata, editable draft bodies, update timestamps, embeds, or image blocks.

Avoid using it when

You need to publish, schedule, delete, or email a post; those are human-only.

Advanced input contract

Agent hosts use this JSON Schema to validate the exact input shape.

View JSON Schema
{
  "type": "object",
  "properties": {
    "profileId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "folderId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "profile": {
      "type": "object",
      "properties": {
        "voice": {
          "default": "casual analytical investor",
          "type": "string",
          "minLength": 1,
          "maxLength": 240
        },
        "audience": {
          "default": "informed readers",
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "firstPersonAllowed": {
          "default": true,
          "type": "boolean"
        },
        "sentenceStyle": {
          "default": "varied and conversational",
          "type": "string",
          "minLength": 1,
          "maxLength": 240
        },
        "preferredStructure": {
          "default": "narrative before framework",
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "avoid": {
          "default": [],
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240
          }
        },
        "analysisRules": {
          "default": [],
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          }
        },
        "defaultDisclosureByTicker": {
          "default": {},
          "type": "object",
          "propertyNames": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16
          },
          "additionalProperties": {
            "type": "string",
            "maxLength": 2000
          }
        }
      }
    },
    "isDefault": {
      "type": "boolean"
    },
    "expectedUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
    },
    "mode": {
      "type": "string",
      "enum": [
        "preview",
        "commit"
      ]
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "operationId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "commitToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    }
  },
  "required": [
    "mode"
  ],
  "additionalProperties": false,
  "anyOf": [
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "properties": {
        "profileId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "folderId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "profile": {
          "type": "object",
          "properties": {
            "voice": {
              "default": "casual analytical investor",
              "type": "string",
              "minLength": 1,
              "maxLength": 240
            },
            "audience": {
              "default": "informed readers",
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "firstPersonAllowed": {
              "default": true,
              "type": "boolean"
            },
            "sentenceStyle": {
              "default": "varied and conversational",
              "type": "string",
              "minLength": 1,
              "maxLength": 240
            },
            "preferredStructure": {
              "default": "narrative before framework",
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "avoid": {
              "default": [],
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 240
              }
            },
            "analysisRules": {
              "default": [],
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              }
            },
            "defaultDisclosureByTicker": {
              "default": {},
              "type": "object",
              "propertyNames": {
                "type": "string",
                "minLength": 1,
                "maxLength": 16
              },
              "additionalProperties": {
                "type": "string",
                "maxLength": 2000
              }
            }
          }
        },
        "isDefault": {
          "type": "boolean"
        },
        "expectedUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        },
        "mode": {
          "type": "string",
          "const": "preview"
        },
        "idempotencyKey": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        }
      },
      "required": [
        "name",
        "profile",
        "mode",
        "idempotencyKey"
      ],
      "additionalProperties": false
    },
    {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "const": "commit"
        },
        "operationId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "commitToken": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        }
      },
      "required": [
        "mode",
        "operationId",
        "commitToken"
      ],
      "additionalProperties": false
    }
  ]
}

Useful next tools