Files
rhema-claw/crates/rhema-claw/tools/notify/TOOL.yaml
T
vhaudiquet 4a91635730 feat(claw): move the notify tool spec into a TOOL.yaml manifest
notify loads its spec from an embedded manifest under
crates/rhema-claw/tools; the Rust side keeps only the invoke half.
The drift test pins the shipped set: the manifest loads against its
builtin, the registry serves the manifest spec, and notify stays
replay-unsafe - a resumed run must not re-send a notification.
2026-10-20 19:30:33 +02:00

24 lines
704 B
YAML

# The model-facing spec of the notify tool; the operation is the
# compiled builtin named under `run`.
name: notify
description: >-
Send a notification to one of the user's devices: the phone by
default. Use it to reach the user away from this chat — a reminder
they asked to be passed on, finished background work, anything that
must not wait for their next message.
parameters:
type: object
properties:
title:
type: string
description: The one-line headline.
body:
type: string
description: The message body.
device:
type: string
description: The target device; the phone when omitted.
required: [title, body]
run:
builtin: notify.push