aula_view_attachment
Load a previously downloaded attachment from its local path and return file content as base64 or text, enabling direct viewing and analysis.
Instructions
Load and view a previously downloaded attachment. Returns the actual file content (as base64 for images/files or text for text files). ONLY call this when the user explicitly asks to view/see/analyze an attachment. WARNING: MCP tool responses have a 1MB limit. Files larger than ~750KB will fail when base64-encoded. For large files, provide the user with the S3 URL or local file path instead.
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": {
"local_path": "<local_path>"
},
"name": "aula_view_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | The local file path from a previous aula_get_attachment response | |
| max_size_mb | No | Maximum file size in MB to load (default: 0.75MB to stay under 1MB MCP response limit when base64-encoded) |