All tools
ToolWrite

Attach article source

attach_article_source

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": {
    "documentId": {
      "type": "string",
      "format": "uuid"
    },
    "claimId": {
      "type": "string",
      "format": "uuid"
    },
    "sourceLogId": {
      "type": "string",
      "format": "uuid"
    },
    "libraryFileId": {
      "type": "string",
      "format": "uuid"
    },
    "libraryDocumentId": {
      "type": "string",
      "format": "uuid"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 1000
    },
    "anchorText": {
      "type": "string",
      "maxLength": 240
    },
    "citationLabel": {
      "type": "string",
      "maxLength": 80
    }
  },
  "required": [
    "documentId"
  ],
  "additionalProperties": false
}

Useful next tools