You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
provider_response_idTEXTNOT NULL,-- The ID for the response in which the tokens were used, produced by the provider.
42
-
server_urlTEXTNULL,-- The name of the MCP server against which this tool was invoked. May be NULL, in which case the tool was defined by the client, not injected.
50
+
provider_response_idTEXTNOT NULL,
51
+
server_urlTEXTNULL,
43
52
toolTEXTNOT NULL,
44
53
inputTEXTNOT NULL,
45
-
injectedBOOLEANNOT NULL DEFAULT FALSE,-- Whether this tool was injected; i.e. Bridge injected these tools into the request from an MCP server. If false it means a tool was defined by the client and already existed in the request (MCP or built-in).
46
-
invocation_errorTEXTNULL,-- Only injected tools are invoked.
54
+
injectedBOOLEANNOT NULL DEFAULT FALSE,
55
+
invocation_errorTEXTNULL,
47
56
metadata JSONB DEFAULTNULL,
48
57
created_atTIMESTAMP WITH TIME ZONENOT NULL
49
58
);
50
59
60
+
COMMENT ON TABLE aibridge_tool_usages IS'Audit log of tool calls in intercepted requests in AI Bridge';
61
+
COMMENT ON COLUMN aibridge_tool_usages.provider_response_id IS'The ID for the response in which the tools were used, produced by the provider.';
62
+
COMMENT ON COLUMN aibridge_tool_usages.server_url IS'The name of the MCP server against which this tool was invoked. May be NULL, in which case the tool was defined by the client, not injected.';
63
+
COMMENT ON COLUMN aibridge_tool_usages.injected IS'Whether this tool was injected; i.e. Bridge injected these tools into the request from an MCP server. If false it means a tool was defined by the client and already existed in the request (MCP or built-in).';
64
+
COMMENT ON COLUMN aibridge_tool_usages.invocation_error IS'Only injected tools are invoked.';