How to register SelfImprovementToolscsharp
registry.Register(new AgentTool( "self_improve_verify_sandbox_tool", "Builds sandbox, runs design tests, checks tool exists in source, and invokes the tool (TOOL TEST PASSED). Uses saved spec if omitted.", InvokeVerifySandbox, new { type = "object", properties = new { tool_name = new { type = "string", description = "Optional if set_tool_spec was called." }, }, }, ToolCategory.Self));