Add tool call logging and reply fields
All checks were successful
Build And Test / publish (push) Successful in 49s
All checks were successful
Build And Test / publish (push) Successful in 49s
This commit is contained in:
23
README.md
23
README.md
@@ -145,11 +145,32 @@ Add your MCP endpoint at https://poke.com/settings/connections.
|
||||
|
||||
| Category | Tools |
|
||||
| --- | --- |
|
||||
| Email | `list_mailboxes`, `list_emails`, `list_drafts`, `read_email`, `search_emails`, `move_email`, `delete_email`, `delete_draft`, `save_draft`, `edit_draft`, `send_email`, `reply_email`, `set_email_flags`, `unsubscribe_email` |
|
||||
| Email | `list_mailboxes`, `list_emails`, `list_drafts`, `read_email`, `search_emails`, `move_email`, `delete_email`, `delete_draft`, `save_draft`, `edit_draft`, `send_email`, `set_email_flags`, `unsubscribe_email` |
|
||||
| Calendar | `list_calendars`, `list_events`, `get_event`, `create_event`, `update_event`, `delete_event` |
|
||||
| Contacts | `list_addressbooks`, `list_contacts`, `get_contact`, `create_contact`, `update_contact`, `delete_contact` |
|
||||
| System | `get_server_info` |
|
||||
|
||||
### Replying to an email
|
||||
|
||||
Use `reply_to_email_id` on `save_draft`, `edit_draft`, or `send_email` to create a reply without a separate tool.
|
||||
|
||||
- Provide `reply_to_email_id` (and optionally `reply_mailbox`, default `INBOX`).
|
||||
- `reply_all=true` includes original recipients; otherwise it replies to the sender/Reply-To.
|
||||
- If `to`/`subject` are omitted, they are derived from the original email; `body` is still required.
|
||||
|
||||
Example (send a reply):
|
||||
```json
|
||||
{
|
||||
"tool": "send_email",
|
||||
"args": {
|
||||
"reply_to_email_id": "12345",
|
||||
"reply_mailbox": "INBOX",
|
||||
"reply_all": true,
|
||||
"body": "Thanks — sounds good to me."
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Database and Migrations
|
||||
|
||||
The server uses SQLite (default: `/data/cache.db`) and Alembic.
|
||||
|
||||
Reference in New Issue
Block a user