Complete Attachment Upload
complete_attachment_uploadFinish an upload started by start_attachment_upload. Call this once per local file, after
the PUT to upload_url has succeeded. A chat-dropped file is downloaded by
start_attachment_upload when you pass its file object, so do not call this tool for it.
This is what checks the file: its real size against the padlet's per-file limit, and its actual bytes against the content type declared at the start. A file that fails either check is deleted and cannot be attached.
Pass the same wall_url you passed to start_attachment_upload — the per-file limit belongs to
the padlet, so completing against a different one can reject a file that was fine.
On success, pass the returned url to a post's attachment in create_posts or update_posts,
the attachment of add_comment_to_post, or image_url of update_padlet_wallpaper or
update_padlet_icon. One attachment per post or comment; call this once per file and use each
URL once.
Returns { success: true, url: "...", file_name: "...", content_type: "...", size_bytes: 123 }, or { success: false, error_code: "...", message: "..." }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wall_url | Yes | The padlet's link (e.g. https://padlet.com/foo/bar-a1b2c3): the link you were given, the `wall_url` a previous call returned, or a link the user pasted. Not a breakout-room or submission link, and not a padlet id: no tool takes a wall_id. | |
| uploaded_url | Yes | The `uploaded_url` start_attachment_upload returned. Not the upload_url you PUT the bytes to. |