pm_upload_project_file
Upload a file to a specific project by providing the project ID, file content in base64, and filename. Optionally include a description, kind, and name.
Instructions
POST /projects/{project_id}/files — multipart upload; file bytes as standard base64.
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": {
"project_id": "<project_id>",
"file_content_base64": "<file_content_base64>",
"filename": "<filename>"
},
"name": "pm_upload_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | general | |
| name | No | ||
| filename | Yes | ||
| x_user_id | No | ||
| project_id | Yes | ||
| description_md | No | ||
| file_content_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |