Source candidates
source_candidatesRun a reviewed sourcing query once and save the matching people to Semata's sourced candidate pool. It returns at most 20 people per call. Only call it after the user has reviewed the query from build_sourcing_query or edit_sourcing_query and explicitly asked to source it. Default to 10 people per call. 20 is the maximum per call, so a larger request takes several narrower searches. Pass the query unchanged. People you already sourced for the same workspace and role are excluded, and every request is audited. Returns candidate summaries, a total, and a status of matches or no_match; a failure is an error, never an empty result. Add chosen candidates to a role with add_sourced_candidates_to_screening. Requires OAuth and a workspace role that can edit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"pdlQuery": "<pdlQuery>"
},
"name": "source_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | People to return. Defaults to 10; at most 20. | |
| roleId | No | Role the search is for, from list_roles. Scopes the exclusion of people already sourced and the audit trail. Use the role the query was built for. | |
| sandbox | No | Test dataset option available to super admins only; other callers get an error. Leave false. | |
| pdlQuery | Yes | The exact sourcing query returned by build_sourcing_query or edit_sourcing_query. Pass it unchanged. | |
| workspaceId | Yes | The workspace id returned by list_workspaces. Use 'personal' for the personal workspace. |