Add people to a list
Add people to a list on the People page.
MCP tool loxo_write → add_to_list
write
Adds the people to the list. Lists are static groups, and anyone with access to a list can add or remove records. It reaches no one and a person can be removed from the list in Loxo, so it does not wait for your OK by default.
Parameters
| Name | Type | Description |
|---|---|---|
| list string required | string | Title of an existing list. A name that does not exist fails and the error lists your lists. |
| person_ids array required | array | Person ids to add. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "loxo_write",
"arguments": {
"operation": "add_to_list",
"arguments": {
"list": "list",
"person_ids": "person ids"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"list": "Data leads",
"added": 1
},
"isError": false
}