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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>"
},
"name": "telegram_agent_enroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | notify | |
| chat_id | Yes | Chat/group id (e.g. -100123...) | |
| scenario | No | Scenario policy (see description) |