MCPcopy Create free account
hub / github.com/astercloud/aster / SetTools

Method SetTools

pkg/tools/bridge/runtime.go:102–104  ·  view source on GitHub ↗

SetTools 设置可用工具列表 (PTC 支持)

(tools []string)

Source from the content-addressed store, hash-verified

100
101// SetTools 设置可用工具列表 (PTC 支持)
102func (r *PythonRuntime) SetTools(tools []string) {
103 r.availableTools = tools
104}
105
106// SetBridgeURL 设置 HTTP 桥接服务器地址 (PTC 支持)
107func (r *PythonRuntime) SetBridgeURL(url string) {

Callers 4

TestPTCIntegrationFunction · 0.95
mainFunction · 0.95
SetPythonToolsMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestPTCIntegrationFunction · 0.76