create_chat_rule
Create a chat rule to define content and scope for workspace or platform interactions. Specify name, rule content, scope type, and activation status.
Instructions
Create a chat rule. Uses AgentFarm internal API.
Skill: runwhen-skill://manage-rules (scoping + wording guidance).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the rule. | |
| scope_id | No | Scope ID (null for platform; workspace name for workspace). | |
| is_active | No | Whether the rule is active. | |
| scope_type | Yes | One of platform, org, workspace, persona, user. | |
| rule_content | Yes | Markdown content of the rule. | |
| workspace_name | Yes | The workspace to create the rule in (e.g. 't-oncall'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |