File tree Expand file tree Collapse file tree
content/manuals/ai/cagent/reference Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,6 +313,33 @@ toolsets:
313313 - type: fetch
314314` ` `
315315
316+ # ## User Prompt
317+
318+ The `user_prompt` toolset lets your agent ask you questions during task
319+ execution. When the agent needs clarification, decisions, or additional
320+ information it can't determine on its own, it displays a dialog and waits for
321+ your response.
322+
323+ You'll see a prompt with the agent's question. Depending on what the agent
324+ needs, you might provide free-form text, select from options, or fill out a
325+ form with multiple fields. You can accept and provide the information, decline
326+ to answer, or cancel the operation entirely.
327+
328+ # ### Configuration
329+
330+ ` ` ` yaml
331+ toolsets:
332+ - type: user_prompt
333+ ` ` `
334+
335+ No additional configuration is required. The tool becomes available to the
336+ agent once configured. When the agent calls this tool, the user sees a dialog
337+ with the prompt. The user can :
338+
339+ - **Accept**: Provide the requested information
340+ - **Decline**: Refuse to provide the information
341+ - **Cancel**: Cancel the operation
342+
316343# ## API
317344
318345The `api` toolset lets you define custom tools that call HTTP APIs. Similar to
You can’t perform that action at this time.
0 commit comments