Pass the merchant's direction to the Brain. Use `add_instruction` when they state a standing goal or guardrail ("stop di
Changed onPass the merchant's direction to the Brain. Use add_instruction when they state a standing goal or guardrail ("stop discounting", "focus on the winter range", "never advertise brand X", "keep spend under 40 a day") — the Brain reads these on every cycle and treats a guardrail as a hard constraint that overrides its own judgement. Use remove_instruction with the EXACT wording of an existing one when they retract it; call get_brain_thinking first and read the list back to them. Use note for a one-off fact the next cycle should know ("we are out of stock on the Aurelle line until Friday") that should not become a permanent rule. ALWAYS confirm the wording with the merchant before writing it — this changes what an autonomous system does with their money. It cannot change budgets, modes, autonomy or caps, and it cannot approve or dispatch anything.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopeswrite
Headers
Optional; honoured when sent. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.
Request body
add_instruction: a standing rule. remove_instruction: retract one, exact wording. note: a one-off fact for the next cycle only.
One line, in the merchant's own words where possible. For remove_instruction, the wording of the existing instruction as get_brain_thinking returned it.
Short context: what the merchant said that led to this.
Optional. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning