Skip to content

Commit 0bf738d

Browse files
danbarrclaude
andcommitted
Tighten Playground page and promote it in sidebar
Editorial polish on the v0.35.0 rewrite: - Collapse the seven Key capabilities h3s into a bulleted list so the ToC stops carrying one-line subsections. - Fix the intro's spaced-hyphen parenthetical and trailing-preposition catch-all. - Split step 3 in Getting started so "After that" no longer dangles. - Drop the redundant rejected-file toast list and the self-explanatory composer-placeholder block. - "Configure client configuration" -> "Set up client configuration" in Next steps. Move the Playground page above CLI access in the ToolHive UI sidebar now that it's a primary workspace, not a test harness. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 308da6f commit 0bf738d

2 files changed

Lines changed: 36 additions & 81 deletions

File tree

docs/toolhive/guides-ui/playground.mdx

Lines changed: 35 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -8,54 +8,36 @@ description:
88
import useBaseUrl from '@docusaurus/useBaseUrl';
99
import ThemedImage from '@theme/ThemedImage';
1010

11-
The ToolHive playground is a chat workspace for AI agents - built-in or your
12-
own - that runs inside the desktop app. Each thread runs against an agent that
13-
sets the system prompt and a default toolset. You can then give that agent
14-
specific MCP tools and skills, and chat with it directly. Testing MCP servers is
15-
one workflow the playground supports, alongside building skills, managing your
16-
ToolHive setup through chat, and any other chat-driven task you want an agent
17-
for.
11+
The ToolHive playground is a chat workspace for built-in or custom AI agents
12+
that runs inside the desktop app. Each thread runs against an agent that sets
13+
the system prompt and a default toolset. You can then give that agent specific
14+
MCP tools and skills, and chat with it directly. Testing MCP servers is one
15+
workflow the playground supports, alongside building skills and managing your
16+
ToolHive setup through chat.
1817

1918
## Key capabilities
2019

21-
### Built-in and custom agents
22-
23-
Switch between the built-in **ToolHive Assistant** and **Skill Engineer**
24-
agents, or create your own with a custom name, description, and system prompt.
25-
See [Choose an agent for a thread](#choose-an-agent-for-a-thread).
26-
27-
### Per-thread context
28-
29-
Each thread keeps its own agent, model, MCP tool selection, and skill selection,
30-
so switching threads doesn't reshuffle your setup. See
31-
[Manage chat threads](#manage-chat-threads).
32-
33-
### Conversational ToolHive management
34-
35-
The default ToolHive Assistant uses a built-in MCP server (`toolhive mcp`) to
36-
manage your other MCP servers through chat: list servers, check status, start or
37-
stop them, and view logs without leaving the conversation.
38-
39-
### Detailed interaction logs
40-
41-
See tool calls, parameters, execution status, response data, and timing inline
42-
in the chat so you can verify exactly what an agent is doing.
43-
44-
### Message actions
45-
46-
Copy any message, edit and rewind a previous user message, or queue a follow-up
47-
while a response is still streaming. See
48-
[Work with chat messages](#work-with-chat-messages).
49-
50-
### Per-message cost
51-
52-
For paid providers, see an estimated USD cost next to the token totals on each
53-
assistant message. See [See per-message cost](#see-per-message-cost).
54-
55-
### Attachments
56-
57-
Send images and PDFs alongside your prompt. See
58-
[Attach files to a message](#attach-files-to-a-message).
20+
- **Built-in and custom agents**: switch between the built-in **ToolHive
21+
Assistant** and **Skill Engineer** agents, or create your own with a custom
22+
name, description, and system prompt. See
23+
[Choose an agent for a thread](#choose-an-agent-for-a-thread).
24+
- **Per-thread settings**: each thread keeps its own agent, model, MCP tool
25+
selection, and skill selection, so switching threads doesn't reshuffle your
26+
setup.
27+
- **Conversational ToolHive management**: the default agent uses a built-in MCP
28+
server (`toolhive mcp`) to list, start, stop, and inspect your other MCP
29+
servers from the chat. See
30+
[Manage MCP servers through conversation](#manage-mcp-servers-through-conversation).
31+
- **Inline tool calls**: see tool calls, parameters, status, response data, and
32+
timing in the chat so you can verify exactly what an agent is doing.
33+
- **Message actions**: copy any message, edit and rewind a previous user
34+
message, or queue a follow-up while a response is still streaming. See
35+
[Work with chat messages](#work-with-chat-messages).
36+
- **Per-message cost**: see an estimated USD cost next to the token totals on
37+
each assistant message for paid providers. See
38+
[See per-message cost](#see-per-message-cost).
39+
- **Attachments**: send images and PDFs alongside your prompt. See
40+
[Attach files to a message](#attach-files-to-a-message).
5941

6042
## Getting started
6143

@@ -78,10 +60,10 @@ To start using the playground:
7860
- **OpenRouter**: Add OpenRouter API key for access to multiple model
7961
providers
8062

81-
3. **Start a thread**: Click **New chat** in the sidebar. New threads open with
82-
the **ToolHive Assistant** agent the first time you use the playground, and
83-
inherit the agent, model, MCP tool selection, and skill selection from the
84-
thread you used most recently after that.
63+
3. **Start a thread**: Click **New chat** in the sidebar. The first time you use
64+
the playground, new threads open with the **ToolHive Assistant** agent. After
65+
that, new threads inherit the agent, model, MCP tool selection, and skill
66+
selection from your most recently used thread.
8567

8668
4. **Pick an agent (optional)**: Use the agent selector in the chat toolbar to
8769
switch to **Skill Engineer**, a custom agent, or open **Manage agents** to
@@ -277,35 +259,8 @@ message:
277259
- **PDFs** show as `📎 <FILE_NAME>` with a **Download** link so you can save the
278260
original file.
279261

280-
If a file is rejected, the playground shows a toast that explains why:
281-
282-
- When you exceed the per-message limit:
283-
284-
> You reached the maximum number of files
285-
>
286-
> You can only upload up to 5 files
287-
288-
- When a file is over 10 MB:
289-
290-
> File size too large
291-
>
292-
> The file size must be less than 10MB
293-
294-
- When a file isn't an image or a PDF:
295-
296-
> File type not supported
297-
>
298-
> Only images and PDFs are supported
299-
300-
The composer placeholder reflects the playground state:
301-
302-
- Before you select a model:
303-
304-
> Select an AI model to get started
305-
306-
- After you select a model:
307-
308-
> Type your message...
262+
If a file exceeds these limits or isn't a supported type, the playground rejects
263+
it and shows a notification explaining why.
309264

310265
## Example workflows
311266

@@ -413,8 +368,8 @@ details on skill formats and how to install or build your own.
413368

414369
- Browse the [Skills](./skills.mdx) section to install or build skills you can
415370
enable in a thread
416-
- Configure [client configuration](./client-configuration.mdx) to connect
417-
ToolHive to external AI applications
371+
- Set up [client configuration](./client-configuration.mdx) to connect ToolHive
372+
to external AI applications
418373
- Set up [secrets management](./secrets-management.mdx) for secure handling of
419374
API keys and tokens
420375
- Explore [network isolation](./network-isolation.mdx) for enhanced security

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ const sidebars: SidebarsConfig = {
7575
'toolhive/guides-ui/skills-manage',
7676
],
7777
},
78-
'toolhive/guides-ui/cli-access',
7978
'toolhive/guides-ui/playground',
79+
'toolhive/guides-ui/cli-access',
8080
],
8181
},
8282

0 commit comments

Comments
 (0)