search-by-relationship
Find records in Attio CRM by their connections to other entities, such as companies linked to people or tasks associated with deals, using relationship-based search criteria.
Instructions
Search records by their relationships to other entities
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": {
"relationship_type": "<relationship_type>",
"source_id": "<source_id>"
},
"name": "search-by-relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| listId | No | (Optional) List ID (must be a valid UUID if provided) | |
| offset | No | Number of results to skip for pagination | |
| relationship_type | Yes | Relationship type | |
| source_id | Yes | Source record ID | |
| target_resource_type | No | Target resource type |