MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / object

Function object

packages/plugins/mcp/src/sdk/codex-browser-tools.ts:45–53  ·  view source on GitHub ↗
(
  properties: Record<string, JsonSchema>,
  required: readonly string[],
)

Source from the content-addressed store, hash-verified

43);
44
45const object = (
46 properties: Record<string, JsonSchema>,
47 required: readonly string[],
48): JsonSchema => ({
49 type: "object",
50 properties,
51 ...(required.length > 0 ? { required: [...required] } : {}),
52 additionalProperties: false,
53});
54
55export interface BrowserToolDefinition {
56 readonly name: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected