Skip to content

Commit 63e1e61

Browse files
committed
cagent: add user_prompt toolset
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
1 parent ed1bb72 commit 63e1e61

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

content/manuals/ai/cagent/reference/toolsets.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff 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

318345
The `api` toolset lets you define custom tools that call HTTP APIs. Similar to

0 commit comments

Comments
 (0)