Content

get_draft

The latest draft generated for a content opportunity.
readReads only. Annotated read-only, so a client can call it without asking.
Plan
Grow and above
Rate cost
1 unit

Try asking

Show me the draft we generated for the comparison page.

Arguments

Passed as the tool call's arguments.

project_idstringrequired

The project to read, from list_projects.

asset_idstringrequired

The content opportunity, from list_content_assets.

Result

The same object as Get the latest draft, returned as structured output.

asset_idstring

The opportunity.

versioninteger

Which generation produced it.

contentstring

The draft itself.

Errors

404 not_foundThe project or item doesn't exist in this workspace. A project from another workspace also returns 404, never 403.
422 invalid_requestA parameter or body field is missing or has the wrong type or value. The message names the field. Also returned when a write would pass the plan's prompt limit.
401 unauthorizedNo key was sent, or the key is unknown, revoked or expired, or the member who created it has left the workspace or been deactivated.
402 plan_requiredThe workspace's plan doesn't include API access. It's included on Grow, Scale and Custom.
403 workspace_not_approvedThe workspace is still waiting for approval, or wasn't approved.
429 rate_limitedToo many requests this minute. Wait for the number of seconds in the `Retry-After` header, then retry.

Every code, and what to retry, is in Errors.

Failures arrive as a tool error — isError: true with code: message as text. See Using the tools.