> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit rule

> Edit an existing rule.

{/* Tool: edit_rule */}

## Parameters

<ParamField path="rule_id" type="string" required={true}>
  Identifier of the rule to update.
</ParamField>

<ParamField path="instruction" type="string" default={""}>
  New instruction text, if updating.
</ParamField>

<ParamField path="condition" type="string" default={""}>
  New condition expression, if updating.
</ParamField>
