Skip to content

docs(rfd): Add RFD 094 for built-in tell_user tool#839

Merged
JeanMertz merged 3 commits into
mainfrom
tell-user-tool
Jul 4, 2026
Merged

docs(rfd): Add RFD 094 for built-in tell_user tool#839
JeanMertz merged 3 commits into
mainfrom
tell-user-tool

Conversation

@JeanMertz

Copy link
Copy Markdown
Collaborator

Propose a built-in tell_user tool that lets the assistant deliver a mid-turn message the user must see without ending the agentic loop: the message renders as chat content, the assistant gets a short acknowledgement, and the loop continues.

Most of the design activates mechanisms [RFD 058] defines but does not yet act on: honoring MCP audience annotations at JP's two view boundaries (provider payload vs. terminal/plugin display), rendering text/markdown content blocks through the jp_md pipeline, and a new style.header knob to suppress the "Calling tool" header line. tell_user is the first consumer of these mechanisms rather than a special case in jp-core.

Amend [RFD 058] itself to add the optional mimeType field and MCP-standard annotations to ContentBlock::Text, both referenced by RFD 094, and update the RFD summary index accordingly.

JeanMertz added 3 commits July 3, 2026 15:54
Propose a built-in `tell_user` tool that lets the assistant deliver a
mid-turn message the user must see without ending the agentic loop:
the message renders as chat content, the assistant gets a short
acknowledgement, and the loop continues.

Most of the design activates mechanisms [RFD 058] defines but does not
yet act on: honoring MCP `audience` annotations at JP's two view
boundaries (provider payload vs. terminal/plugin display), rendering
`text/markdown` content blocks through the `jp_md` pipeline, and a new
`style.header` knob to suppress the "Calling tool" header line.
`tell_user` is the first consumer of these mechanisms rather than a
special case in jp-core.

Amend [RFD 058] itself to add the optional `mimeType` field and
MCP-standard `annotations` to `ContentBlock::Text`, both referenced by
RFD 094, and update the RFD summary index accordingly.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz

Copy link
Copy Markdown
Collaborator Author

Note to self: style.header should be added to the list of options that the assistant is not allowed to modify.

@JeanMertz JeanMertz merged commit a754985 into main Jul 4, 2026
15 checks passed
@JeanMertz JeanMertz deleted the tell-user-tool branch July 4, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant