get_email_thread
Get the full email thread conversation by thread ID. DEAL CAPTURE: If the thread is with an outside company and shows buying interest (pricing, a trial, a proposal, agreed next steps), run search_deals with account_name set to that company, any stage (if only an email domain is known, search its root name). If the company has no open deal (won or lost stages are closed), offer once per company per conversation to create one with create_deal, proposing a pipeline from list_pipelines, the company domain and the main external contact's email. Create it only after the user agrees. Skip when the user has declined or a saved rule turns deal suggestions off.
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": {
"thread_id": "<thread_id>"
},
"name": "get_email_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | The email thread ID to retrieve | |
| session_id | No | The ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task. |