How to register WorkspaceToolscsharp
registry.Register(new AgentTool( "read_workspace_file", "Reads a project/document file from the workspace (output, then config). Do NOT use for user facts — use retrieve_memory or get_memory_at_path.", args => ReadWorkspaceFile(args), new { type = "object", properties = new { path = new { type = "string", description = "Relative path of the file to read." } }, required = new[] { "path" } } ));