Read message
get_message_contentGet a message's full text and attachments. Opening a received message marks it read in Librus, as the app does. A server can require consent for that: on CONSENT_REQUIRED, ask the user, then call again with allow_mark_read=true.
Instructions
Get a message's full text and attachments. Opening a received message marks it read in Librus, as the app does. A server can require consent for that: on CONSENT_REQUIRED, ask the user, then call again with allow_mark_read=true. Archived messages cannot be opened.
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": {
"account_alias": "<account_alias>",
"message_ref": "<message_ref>"
},
"name": "get_message_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_ref | Yes | A message's reference from get_messages. | |
| account_alias | Yes | Login alias from list_accounts. | |
| allow_mark_read | No | false leaves a received message unread and unopened. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| backend | Yes | ||
| context | Yes |