You're viewing a demo portfolio

Join the waitlist
PRSM

x-twitter.edit_post

Active

Tool of Vee3

declared in 1.27.1

Edit a recent post from a connected X account. Call x-twitter.connected_accounts first. Pass user_id or user_name to target a specific account, or omit both to use the default account. Requires post_id and at least one of text, media, paid_partnership, or made_with_ai. Edits must be within X's one-hour window after posting. The authenticated X account may need X Premium for API edits. Posts with polls and some other types cannot be edited. Each edit returns a new post_id. To attach media, upload files with meta-tools.upload_file and pass file_name values from meta-tools.list_uploaded_files. Token pricing matches x-twitter.create_post: 60 tokens base, 1000 with URL, plus media surcharges.

Parameters schema

{
  "type": "object",
  "title": "edit_x_postArguments",
  "required": [
    "post_id"
  ],
  "properties": {
    "text": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 25000
        },
        {
          "type": "null"
        }
      ],
      "title": "Text",
      "default": null,
      "description": "Updated post text."
    },
    "media": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Media",
      "default": null,
      "maxItems": 4,
      "minItems": 1,
      "description": "File names from meta-tools.list_uploaded_files to attach (up to 4). Upload with meta-tools.upload_file first."
    },
    "post_id": {
      "type": "string",
      "title": "Post Id",
      "description": "Numeric id of the post to edit."
    },
    "user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id",
      "default": null,
      "description": "Numeric X user id from x-twitter.connected_accounts. Pass user_id or user_name to target a specific account, not both. Omit both to use the default account."
    },
    "user_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Name",
      "default": null,
      "description": "X handle from x-twitter.connected_accounts, with or without a leading @. Pass user_id or user_name to target a specific account, not both. Omit both to use the default account."
    },
    "made_with_ai": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Made With Ai",
      "default": null,
      "description": "Whether the post contains AI-generated media."
    },
    "paid_partnership": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Paid Partnership",
      "default": null,
      "description": "Whether the post is a paid partnership."
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Vee3

https://github.com/Vee3io/Vee3

1/7 registries
View full server →
x-twitter.edit_post — Vee3 — PRSM MCP