monica_media
Manage documents and photos attached to Monica CRM contacts. List a contact's media, upload files from base64 or local path, and delete by ID.
Instructions
Documents and photos attached to contacts. Choose kind, then: • list — a contact's, or everyone's. • upload — a file for a contact, from base64 content plus a filename (or, when this server runs on the same machine over stdio, a local path). • delete — by id (confirm: true).
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": {
"action": "<action>",
"kind": "<kind>"
},
"name": "monica_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The document or photo's id | |
| kind | Yes | ||
| path | No | ||
| limit | No | ||
| action | Yes | Which operation to perform. Other fields are required/optional depending on the value chosen — see tool description. | |
| base64 | No | ||
| confirm | No | ||
| contact | No | ||
| filename | No |