ToolCall
Tool calls: every integration run, capability call and agent tool call your platform work made, newest first.
page = noclick.ToolCall.list_page(tool="gmail.*", status="error", user_filter=noclick.ALL_USERS)class ToolCallOne recorded tool call.
| id | string | |
| toolName | string | The name policy judges it by: dotted ( |
| toolType | string | null | |
| operation | string | null | |
| status | string | null | |
| error | string | null | |
| arguments | JsonObject | |
| resultPreview | string | null | |
| durationMs | number | null | |
| credentialId | string | null | |
| userId | string | null | |
| agentId | string | null | |
| conversation | string | null | |
| executionId | string | null | |
| source | string | null |
|
| createdAt | Date | null | |
| raw | JsonObject | The response JSON exactly as the API sent it. |
| mcpServerId | string | null | The hosted MCP server an MCP client called it through ( |
liststatic
static list(options?: ToolCallFilters & { limit?: number }): Promise<ToolCall[]>Every matching call (or the first limit).
An Agent or agent id: its turns' calls.
A tool name or a * pattern (gmail.*), dotted or wire form.
api: your own calls; agent: your agents' turns; mcp_server: MCP clients' calls through your hosted servers.
Return at most this many.
Which users the read covers (user_id query), instead of acting as one (user).
undefined = the ambient user (asUser), null = the account itself.
The client to send with; defaults to the module client built from NOCLICK_API_KEY.
Every matching call, newest first, fetched page by page.
listPagestatic
static listPage(
options?: ToolCallFilters & PageOptions,
): Promise<Page<ToolCall>>One page of matching calls; pass nextCursor back as cursor.
The next_cursor of the page before; omit it for the first page.
Return at most this many.
An Agent or agent id: its turns' calls.
A tool name or a * pattern (gmail.*), dotted or wire form.
api: your own calls; agent: your agents' turns; mcp_server: MCP clients' calls through your hosted servers.
Which users the read covers (user_id query), instead of acting as one (user).
undefined = the ambient user (asUser), null = the account itself.
The client to send with; defaults to the module client built from NOCLICK_API_KEY.
A page whose data holds up to limit calls (at most 200) and whose next_cursor
is None on the last page.
summarystatic
static summary(options?: ToolCallFilters): Promise<ToolCallSummary>How many calls match, and how many of them errored.
An Agent or agent id: its turns' calls.
A tool name or a * pattern (gmail.*), dotted or wire form.
api: your own calls; agent: your agents' turns; mcp_server: MCP clients' calls through your hosted servers.
Which users the read covers (user_id query), instead of acting as one (user).
undefined = the ambient user (asUser), null = the account itself.
The client to send with; defaults to the module client built from NOCLICK_API_KEY.
The total, split into success and error.
ToolCallSummary
interface ToolCallSummaryHow many calls match, and how many of them errored.
| total | number | |
| success | number | |
| error | number | |
| raw | JsonObject | The response JSON exactly as the API sent it. |