Attach an uploaded reference to Playground
playground_media_upload_completeVerify the signed upload by server-owned path, actual byte size and media signature, then add one editable file node at the current canvas revision. Repeating the same upload ID returns the original node receipt. Returns the created node ID, canvas revision and replay status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"uploadId": "<uploadId>",
"expectedRevision": "<expectedRevision>"
},
"name": "playground_media_upload_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uploadId | Yes | Upload ID returned by media_upload_begin after the bytes have been uploaded. | |
| projectId | Yes | ID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context. | |
| expectedRevision | Yes | Current canvas revision from canvas_read; on revision_conflict, read again and rebuild the change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| replayed | Yes | ||
| revision | Yes | ||
| uploadId | Yes |