mcpProvider-backed

Call treg

tools/call

Treg pilot lookup through workspace BYOK. Native external-agent research comes first. Reuse operationId for the same work. Returns saved evidence and exact/unknown provider cost, never qualification or permission to send. Up to 100 search results, no automatic retry. Optional maxCostMicro caps this call in integer micro-USD (default 100000, maximum 3500000, 0 means free only). Optional provider pins people.search with audience to quickenrich or companyenrich; incompatible filters are refused before spend. The workspace pilot budget still applies. For people.search use input {audience:{titles,department_and_function,seniority,account_domains,exclude_domains,exclude_titles,account_keywords,technologies,employee_range,geo_countries,job_duration_max_months},limit}. Titles are literal alternatives; prefer documented department_and_function plus seniority for function-defined ICPs. account_keywords and technologies use AND. employee_range is [min,max] inclusive headcount. Other audience fields are optional arrays of strings except job_duration_max_months (integer current-role tenure including promotions). Returns an assessment distinguishing matching evidence, review-required candidates and held results; company-filter application alone does not prove ICP fit. Countries are ISO alpha-2. Pipeline selects reviewed free discovery or native role-date search automatically, rejects unsupported requirements, and preserves hard filters. Do not mix audience with generic filters. Pilot must be enabled by the operator.

Parameters

workspaceIdrequired
string
No description.
credentialIdrequired
string
No description.
operationIdrequired
string
No description.
operationrequired
string
No description.
companies.search | people.search | companies.enrich | people.enrich | people.email.find | people.email.verify | web.search | web.extract
inputrequired
object
No description.
provider
string
Strict native provider selection for people.search with audience. QuickEnrich cannot preserve person geography, company criteria, seniority, functions or role-date filters.
quickenrich | companyenrich
maxCostMicro
integer
Per-call spending ceiling in micro-USD; default 100000. Lifetime pilot budget still applies.
tableId
string
No description.
rowId
string
No description.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "call-treg",
"arguments": {
"workspaceId": "00000000-0000-4000-8000-000000000000",
"credentialId": "00000000-0000-4000-8000-000000000000",
"operationId": "00000000-0000-4000-8000-000000000000",
"operation": "companies.search",
"input": {
"domain": "example.com"
}
}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"operation": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"success",
"operation"
]
}

JSON-RPC errors

-32602
Invalid parameters. Field-level details are returned in the JSON-RPC error data.
-32001
Authentication or hosted AI consent is required.
-32003
Workspace access is denied.
-32029
The request was rate limited.
Pipeline MCP documentation | Pipeline