MCPcopy Create free account
hub / github.com/53AI/53AIHub / ParseWorkflowParameters

Method ParseWorkflowParameters

api/model/message.go:154–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152}
153
154func (m *Message) ParseWorkflowParameters() (map[string]interface{}, error) {
155 var parameters map[string]interface{}
156 if err := json.Unmarshal([]byte(m.Message), &parameters); err != nil {
157 return nil, err
158 }
159 return parameters, nil
160}
161
162func (m *Message) ParseWorkflowOutput() (map[string]interface{}, error) {
163 var outputData map[string]interface{}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected