"description":"Get a summary of today's inbox: total emails processed, counts by classification (HIGH, NORMAL, LOW), and a list of the most recent high-priority items.",
"inputSchema":{
"json":{
"type":"object",
"properties":{
"date":{
"type":"string",
"description":"Date in YYYY-MM-DD format. Defaults to today.",
}
},
}
},
}
},
{
"toolSpec":{
"name":"get_high_priority_emails",
"description":"Get all HIGH-priority emails for a given date.",
"inputSchema":{
"json":{
"type":"object",
"properties":{
"date":{
"type":"string",
"description":"Date in YYYY-MM-DD format. Defaults to today.",
}
},
}
},
}
},
{
"toolSpec":{
"name":"get_unanswered_threads",
"description":"Get email threads where Adam hasn't replied in 24+ hours.",
"inputSchema":{
"json":{
"type":"object",
"properties":{},
}
},
}
},
{
"toolSpec":{
"name":"get_bypassed_work_orders",
"description":"Get emails sent directly to Adam without CC'ing the work-orders address. These should have gone through the work order system.",
"inputSchema":{
"json":{
"type":"object",
"properties":{
"date":{
"type":"string",
"description":"Date in YYYY-MM-DD format. Defaults to today.",
}
},
}
},
}
},
{
"toolSpec":{
"name":"search_emails_by_sender",
"description":"Search for emails from a specific sender by name or email address. Searches across all classified emails in the database.",
"inputSchema":{
"json":{
"type":"object",
"properties":{
"sender":{
"type":"string",
"description":"Sender name or email address to search for (case-insensitive partial match).",
},
"limit":{
"type":"integer",
"description":"Maximum number of results to return. Defaults to 10.",
},
},
"required":["sender"],
}
},
}
},
{
"toolSpec":{
"name":"get_email_thread_detail",
"description":"Get the full message history of a specific email thread from Gmail, including all participants and message snippets.",
"inputSchema":{
"json":{
"type":"object",
"properties":{
"thread_id":{
"type":"string",
"description":"Gmail thread ID.",
}
},
"required":["thread_id"],
}
},
}
},
{
"toolSpec":{
"name":"trigger_daily_digest",
"description":"Send Adam his daily inbox digest right now, regardless of the scheduled time.",
"description":"Maximum results to return. Defaults to 10.",
},
},
"required":["query"],
}
},
}
},
{
"toolSpec":{
"name":"coordinate_with_user",
"description":"Start a coordination thread to interact with someone in the channel. Posts a message in the channel and starts a threaded conversation with the mentioned person. Use when Adam asks you to coordinate, schedule, or communicate with someone.",
"inputSchema":{
"json":{
"type":"object",
"properties":{
"flat_message":{
"type":"string",
"description":"Brief message to post flat in the channel (e.g., 'Coordinating a meeting with Jane').",
},
"thread_message":{
"type":"string",
"description":"The message to post in the thread, @mentioning the person (use Slack format <@USER_ID>).",