ponisha_update_portfolio
Update a portfolio item by submitting only changed fields; current details remain, while contents must include all items to keep. Show the change and get approval before saving.
Instructions
Edit one of your portfolio items. Pass only what changes; everything else is kept from the current item. contents replaces the whole list, so include the items to keep (see ponisha_get_portfolio for their file ids). Older items may have no role or service type; then pass role and skill_category_id too. Ponisha may review the item again after an edit. Show the user the change and get approval first.
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": {
"portfolio_id": "<portfolio_id>"
},
"name": "ponisha_update_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Your role in the project, e.g. «طراح رابط کاربری»; at least 3 characters | |
| tags | No | 1–5 tag titles (see ponisha_search_portfolio_tags) | |
| title | No | 3–60 characters | |
| skills | No | 1–5 skill ids from ponisha_list_skills | |
| contents | No | Items shown in order (images, files, links, text) | |
| duration | No | ||
| description | No | What the project was and what you did | |
| portfolio_id | Yes | ||
| duration_unit | No | ||
| maximum_price | No | Toman | |
| minimum_price | No | Toman; give with maximum_price | |
| preview_image | No | Or: file id of a portfolio_preview upload for the cover | |
| cover_image_path | No | Local jpg/png for the cover; uploaded for you (up to 5 MB) | |
| skill_category_id | No | Service type id from ponisha_list_service_types | |
| related_project_id | No | A Ponisha project of yours this work came from |