Skip to content

Commit 6efc351

Browse files
Update ToolHive reference docs for v0.1.7 (#49)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent cccb203 commit 6efc351

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/toolhive/reference/cli/thv_run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ thv run [flags] SERVER_OR_IMAGE_OR_PROTOCOL [-- ARGS...]
7070
--otel-sampling-rate float OpenTelemetry trace sampling rate (0.0-1.0) (default 0.1)
7171
--otel-service-name string OpenTelemetry service name (defaults to toolhive-mcp-proxy)
7272
--permission-profile string Permission profile to use (none, network, or path to JSON file) (default "network")
73-
--port int Port for the HTTP proxy to listen on (host port)
7473
--proxy-mode string Proxy mode for stdio transport (sse or streamable-http) (default "sse")
74+
--proxy-port int Port for the HTTP proxy to listen on (host port)
7575
--secret stringArray Specify a secret to be fetched from the secrets manager and set as an environment variable (format: NAME,target=TARGET)
7676
--target-host string Host to forward traffic to (only applicable to SSE or Streamable HTTP transport) (default "127.0.0.1")
7777
--target-port int Port for the container to expose (only applicable to SSE or Streamable HTTP transport)

static/api-specs/toolhive-api.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ components:
6868
type: boolean
6969
type: object
7070
permissions.Profile:
71-
description: Permissions defines the security profile and access permissions
72-
for the server
71+
description: Permission profile to apply
7372
properties:
7473
name:
7574
description: Name is the name of the profile
@@ -357,11 +356,14 @@ components:
357356
name:
358357
description: Name of the workload
359358
type: string
359+
network_isolation:
360+
description: Whether network isolation is turned on. This applies the rules
361+
in the permission profile.
362+
type: boolean
360363
oidc:
361364
$ref: '#/components/schemas/v1.oidcOptions'
362365
permission_profile:
363-
description: Permission profile to apply
364-
type: string
366+
$ref: '#/components/schemas/permissions.Profile'
365367
proxy_mode:
366368
description: Proxy mode to use
367369
type: string

0 commit comments

Comments
 (0)