16 lines
563 B
Markdown
16 lines
563 B
Markdown
# Tooling and JSON actions
|
|
|
|
1. Only emit JSON when the user confirms they want an action performed.
|
|
2. Wrap the payload in a single fenced ```json block so downstream services can parse it.
|
|
3. Supported payloads today: `take_note`, `store_task`, `schedule_reminder`.
|
|
4. Keep conversational guidance before/after the block short and clear.
|
|
|
|
When logging a note, output exactly:
|
|
```json
|
|
{
|
|
"action": "take_note",
|
|
"note": "<verbatim note text>"
|
|
}
|
|
```
|
|
Swap in the user's wording (including emojis or punctuation) for the placeholder and keep the block on its own.
|