File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
docs/toolhive/reference/cli Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ Restart a tooling server
1515
1616### Synopsis
1717
18- Restart a running tooling server managed by ToolHive. If the server is not running, it will be started.
18+ Restart a running tooling server managed by ToolHive.
19+ If the server is not running, it will be started.
20+ Supports both container-based and remote MCP servers.
1921
2022```
2123thv restart [workload-name] [flags]
Original file line number Diff line number Diff line change @@ -190,6 +190,10 @@ components:
190190 Port is the port on which the workload is exposed.
191191 This is embedded in the URL.
192192 type : integer
193+ remote :
194+ description : Remote indicates whether this is a remote workload (true) or
195+ a container workload (false).
196+ type : boolean
193197 status :
194198 $ref : ' #/components/schemas/runtime.WorkloadStatus'
195199 status_context :
@@ -779,6 +783,18 @@ components:
779783 description : ThvCABundle is the path to the CA certificate bundle for ToolHive
780784 HTTP operations
781785 type : string
786+ tool_override :
787+ additionalProperties :
788+ $ref : ' #/components/schemas/runner.ToolOverride'
789+ description : |-
790+ ToolOverride is the map of tool names to override. Tools to override are
791+ specified as ToolOverride structs.
792+ type : object
793+ tool_override_file :
794+ description : |-
795+ ToolOverrideFile is the path to a file containing tool overrides.
796+ The file is a JSON struct mapping actual names to ToolOverride structs.
797+ type : string
782798 tools_filter :
783799 description : ToolsFilter is the list of tools to filter
784800 items :
@@ -802,6 +818,15 @@ components:
802818 type : array
803819 uniqueItems : false
804820 type : object
821+ runner.ToolOverride :
822+ properties :
823+ description :
824+ description : Description is the redefined description of the tool
825+ type : string
826+ name :
827+ description : Name is the redefined name of the tool
828+ type : string
829+ type : object
805830 runtime.WorkloadStatus :
806831 description : Status is the current status of the workload.
807832 type : string
You can’t perform that action at this time.
0 commit comments