media_assets_attach_from_url
Attach an image (JPG/PNG/GIF, max 8MB) or PDF (max 100MB) already hosted at a public HTTPS URL to a draft post. Only for files the user explicitly provides a public URL for. For a file uploaded in Settings > Media use media_assets_attach with its ma_ id instead; for a local file or an image attached in the chat, direct the user to https://zevari.ai/dashboard/content/{contentId} where they can upload directly. Only valid while content is in 'draft' state.
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": {
"content_id": "<content_id>",
"url": "<url>",
"kind": "<kind>"
},
"name": "media_assets_attach_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL to fetch | |
| kind | Yes | 'image' for JPG/PNG/GIF; 'document' for PDF | |
| position | No | ||
| content_id | Yes | Draft content row to attach to |