ReScopeBench / cases /redcap /raw /mcp_servers /tools /refresh_fixture_state.py
JoeYing
Add ReScopeBench cases and task preview
f726fd6
Raw History Blame Contribute Delete
1.16 kB
"""Implementation wrapper for refresh_fixture_state."""
from __future__ import annotations
from mcp_servers.redcap import TOOL_SPECS, run_tool
from mcp_servers.server import register_tool
def refresh_fixture_state(state_manager=None, **kwargs):
return run_tool("refresh_fixture_state", state_manager, kwargs)
register_tool(
"refresh_fixture_state",
refresh_fixture_state,
'Reset isolated runtime state back to the immutable seed corpus and return before-and-after state hashes.',
{
"properties": {
"actor_user_id": {
"description": "Input parameter actor_user_id.",
"type": "string"
},
"confirm_reset": {
"description": "Input parameter confirm_reset.",
"type": "boolean"
},
"project_id": {
"description": "Input parameter project_id.",
"type": "string"
},
"reset_reason": {
"description": "Input parameter reset_reason.",
"type": "string"
}
},
"required": [
"actor_user_id",
"reset_reason",
"confirm_reset"
],
"type": "object"
}
)