Call treg
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
Example
{"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
{"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.