SpecifyDocs

design.updateRule

tools/call

Saves new wording, scope, kind or examples as a new version of a rule. Send the version you read as expectedVersion. Send confirmedByPerson: true only after the person said yes to this change in your conversation; Specify refuses the write without it. Pass the same changeSet on every write of one cleanup so History undoes them in one step.

Scopes

read:design

Writes only for the person who connected the key, while they hold Design edit access, and only with confirmedByPerson: true after they said yes.

Inputs

numberintegerRequired
expectedVersionintegerRequired
textstring
kind"functional" | "accessibility" | "principle" | "taste"
scopeobject
examplesstring[]
antiExamplesstring[]
idempotencyKeystringRequired
changeSetstring
changeSummarystring
confirmedByPersonboolean

Returns

The Design operation's result. A call returns content[0].text with the JSON result and structuredContent.result with the same value.

Listed when

The key has Design access and the tool's scope.