Skip to content

feature: Tool response processing with nemo check #18

@evaline-ju

Description

@evaline-ju

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

  • 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

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions