MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Set

Method Set

mcp-server/param.go:63–68  ·  view source on GitHub ↗
(k string, v interface{})

Source from the content-addressed store, hash-verified

61}
62
63func (p *BodyParam) Set(k string, v interface{}) {
64 if p.params == nil {
65 p.params = make(map[string]interface{})
66 }
67 p.params[k] = v
68}
69
70func (p *BodyParam) Encode() (string, error) {
71 switch p.contentType {

Callers 1

generateInvokeToolFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected