bearer, basic, api_key, sinas_token (forwards caller’s JWT), none
Auth is resolved from the Secrets store. Private secrets override shared for the calling user — enabling multi-tenant patterns where each user can have their own API key for the same connector.
Agent configuration:
tool_call_id field linking them to the tool call that triggered them, enabling execution tree visualization in the Logs page.
Input schema presets: The function editor includes built-in presets for common input/output schemas. Use the “Load preset” dropdown when editing schemas:
| Preset | Use case |
|---|---|
| Pre-upload filter | Content filtering before file upload (receives file content, returns approved/rejected) |
| Post-upload | Processing after successful file upload (receives file_id, metadata) |
| CDC (Change Data Capture) | Processing database changes (receives table, rows, poll_column, count) |
| Message Hook | Message lifecycle hook (receives message, chat_id, agent; returns content mutation or block) |