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.
24 lines
704 B
YAML
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
|