Skip to main content

Module calls

Module calls 

Source
Expand description

One agent tool call to Google, end to end: whose account and grant (super::access), whether the token covers the action, a fresh token (srv refreshes it; the agent never sees it), the request, the trimmed answer, and a line in the account’s log (D7) however it ends.

Structs§

CallDeps
What a call needs from srv.

Functions§

calendar_read
A Calendar read action for agent def. The answer names the account and carries the trimmed result.
drive_read
A Drive read action for agent def. pick_files is not one of them (the handler asks the person); everything else is a request to Google and a trimmed answer.
gmail_read
A Gmail read action for agent def.
log_call
A line in the account’s log (D7) for one call, however it ended.