telegram_agent_enroll
Enroll a Telegram chat for agentic handling with auto, advisory, or notify mode, and define a scenario policy covering persona, data scope, and toolset.
Instructions
Enroll a Telegram chat for agentic handling with a scenario. mode: auto (self-converse) | advisory (suggest, human sends) | notify. scenario (optional dict): persona, default_toolset, data_scope {models,fields,pricelist}, forbid[], company_id, quote_send (approve|auto), skills[] ({name,toolset,triggers[]}). Confidentiality is enforced by data_scope. Enrolments are per-principal — you never see or change another principal's.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | notify | |
| chat_id | Yes | Chat/group id (e.g. -100123...) | |
| scenario | No | Scenario policy (see description) |