MCPcopy
hub / github.com/TaskingAI/TaskingAI / validate

Method validate

backend/app/schemas/tool/action.py:138–141  ·  view source on GitHub ↗
(cls, data: Any)

Source from the content-addressed store, hash-verified

136
137 @model_validator(mode="after")
138 def validate(cls, data: Any):
139 if data.authentication is not None:
140 data.authentication.encrypt()
141 return data
142
143# ----------------------------
144# Run an Action

Callers 2

validate_path_paramsMethod · 0.45
validate_openapi_schemaFunction · 0.45

Calls 1

encryptMethod · 0.45

Tested by

no test coverage detected