upload_source
Upload source code to a VibeSharing prototype so colleagues can download it from the prototype page. Share code without deploying.
Instructions
Upload source code for an existing prototype on VibeSharing. Colleagues can then download the source from the prototype page. Use this when you want to share code without deploying it.
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": {
"prototype_id": "<prototype_id>",
"source_code": "<source_code>"
},
"name": "upload_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional: Filename for the source (default: 'page.tsx') | |
| source_code | Yes | The source code to upload | |
| prototype_id | Yes | The VibeSharing prototype ID to upload source code to | |
| storage_option | No | Optional: 'permanent' (default), 'auto-delete' (7 days), or 'delete-on-download' |