You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #17 a plugin was added to interface with the "nemo check server" (server that provides /v1/guardrails/checks). This focused on tool argument checking (pre-tool-execution). We want to leverage the capability of checking tool responses as well.
Proposed Solution
Unless the hook mechanism has changed
Update tool_post_invoke "hook" in the NemoCheck plugin to call out to /v1/guardrails/checks with the appropriate role: tool and tool response content
Update the getToolPostInvokeResponse as needed in the main ext-proc server to make sure that error response information is propagated and blocking requests (continue_processing: false) leads to an expected MCP error
Feature Description
In #17 a plugin was added to interface with the "nemo check server" (server that provides
/v1/guardrails/checks). This focused on tool argument checking (pre-tool-execution). We want to leverage the capability of checking tool responses as well.Proposed Solution
Unless the hook mechanism has changed
tool_post_invoke"hook" in the NemoCheck plugin to call out to/v1/guardrails/checkswith the appropriaterole: tooland tool response contentgetToolPostInvokeResponseas needed in the main ext-proc server to make sure that error response information is propagated and blocking requests (continue_processing: false) leads to an expected MCP errorWant to contribute?
Additional Context
No response