Get Connected Thread
connection_get_connected_threadReturns one mail thread's messages in order, metadata first and bodies only if your agent_name holds read_body on the connection. Read the thread before proposing a stage or drafting a reply: a snippet is not the message. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "connection_get_connected_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | ||
| agentName | No | ||
| companyId | No | ||
| connectionId | No | UUID value wrapper. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | No | ||
| threadId | No |