haops_upload_doc_image
Upload a base64-encoded image to a documentation section and receive a URL for embedding in content.
Instructions
Upload an image to a documentation section. Accepts base64-encoded image data. Returns the attachment record with a URL for embedding in content.
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": {
"projectSlug": "<projectSlug>",
"artifactSlug": "<artifactSlug>",
"sectionSlug": "<sectionSlug>",
"imageBase64": "<imageBase64>",
"filename": "<filename>",
"mimeType": "<mimeType>"
},
"name": "haops_upload_doc_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| filename | Yes | Filename with extension (e.g. screenshot.png) | |
| mimeType | Yes | Image MIME type | |
| imageBase64 | Yes | Base64-encoded image data | |
| projectSlug | Yes | The project slug (URL identifier) | |
| sectionSlug | Yes | The doc section slug | |
| artifactSlug | Yes | The doc artifact slug |