API Reference
5. API Reference Summary¶
This section provides a quick summary of the primary interfaces exposed by each provider.
template_example
¶
- Tools:
template_example.example_tool(param1: string, param2?: integer) -> map
- Webhooks: None
- Events: None
- Jobs: None
filesystem
¶
- Tools:
filesystem.read_file(path: string) -> map
filesystem.write_file(path: string, content: string, append?: boolean) -> map
filesystem.list_directory(path: string) -> map
- Webhooks: None
- Events: None
- Jobs: None
llm
¶
- Tools: Primarily interacts via the central
/api/chat
endpoint, not distinctllm.
tools. - Webhooks: None
- Events: None
- Jobs: None
unipile
¶
- Tools:
unipile.list_accounts(...) -> map
unipile.get_email(account_id: string, email_id: string) -> map
unipile.get_account_status(account_id: string) -> map
- (Potential Internal/Setup Tools:
unipile.register_webhook
,unipile.initiate_account_connection
)
- Webhooks (Incoming): Handles various events (email, sync, account) from Unipile via
/webhooks/unipile/{webhook_id}
. - Events (Published):
unipile.email.received
unipile.account.sync_status.updated
unipile.account.disconnected
unipile.email.thread.created
(Potential)
- Jobs:
- Account Synchronization (e.g.,
unipile.sync_account
)
- Account Synchronization (e.g.,
email_draft_preparator
¶
- Tools: None exposed externally.
- Webhooks: None
- Events (Published):
email.draft.prepared
- Jobs:
email_draft_preparator.process_email(account_id: string, email_id: string)