MCPcopy Create free account
hub / github.com/compozy/agh / GetAgentSoul

Method GetAgentSoul

internal/cli/client.go:3329–3340  ·  view source on GitHub ↗
(
	ctx context.Context,
	name string,
	query AgentQuery,
)

Source from the content-addressed store, hash-verified

3327}
3328
3329func (c *unixSocketClient) GetAgentSoul(
3330 ctx context.Context,
3331 name string,
3332 query AgentQuery,
3333) (AgentSoulRecord, error) {
3334 var response AgentSoulRecord
3335 path := "/api/agents/" + url.PathEscape(strings.TrimSpace(name)) + "/soul"
3336 if err := c.doJSON(ctx, http.MethodGet, path, agentValues(query), nil, &response); err != nil {
3337 return AgentSoulRecord{}, err
3338 }
3339 return response, nil
3340}
3341
3342func (c *unixSocketClient) ValidateAgentSoul(
3343 ctx context.Context,

Callers

nothing calls this directly

Calls 2

doJSONMethod · 0.95
agentValuesFunction · 0.85

Tested by

no test coverage detected