Skip to content

Commit bf16755

Browse files
Update ToolHive reference docs for v0.1.9 (#61)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8d1f30d commit bf16755

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

docs/toolhive/reference/cli/thv_list.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ thv list [flags]
2222
### Options
2323

2424
```
25-
-a, --all Show all workloads (default shows just running)
26-
--format string Output format (json, text, or mcpservers) (default "text")
27-
-h, --help help for list
25+
-a, --all Show all workloads (default shows just running)
26+
--format string Output format (json, text, or mcpservers) (default "text")
27+
-h, --help help for list
28+
-l, --label stringArray Filter workloads by labels (format: key=value)
2829
```
2930

3031
### Options inherited from parent commands

docs/toolhive/reference/cli/thv_run.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ thv run [flags] SERVER_OR_IMAGE_OR_PROTOCOL [-- ARGS...]
5858
--isolate-network Isolate the container network from the host (default: false)
5959
--jwks-allow-private-ip Allow JWKS/OIDC endpoints on private IP addresses (use with caution)
6060
--jwks-auth-token-file string Path to file containing bearer token for authenticating JWKS/OIDC requests
61+
-l, --label stringArray Set labels on the container (format: key=value)
6162
--name string Name of the MCP server (auto-generated from image if not provided)
6263
--oidc-audience string Expected audience for the token
6364
--oidc-client-id string OIDC client ID

static/api-specs/toolhive-api.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,12 @@ components:
598598
created_at:
599599
description: CreatedAt is the timestamp when the workload was created.
600600
type: string
601+
labels:
602+
additionalProperties:
603+
type: string
604+
description: Labels are the container labels (excluding standard ToolHive
605+
labels)
606+
type: object
601607
name:
602608
description: |-
603609
Name is the name of the workload.

0 commit comments

Comments
 (0)