Find an athlete
find_athleteLook up athletes in the coach's organization by display name (partial match) or exact email. Returns matches with user_id, name and group names, to resolve a name before athlete tools or to answer which group an athlete is in; total_matches and truncated state any cap. Needs a coach role. No match means not in this roster, not that no account exists. get_current_user identifies the connected account.
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": {
"query": "<query>"
},
"name": "find_athlete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Part of a display name, or an exact email address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| org_id | No | ||
| status | No | ||
| matches | No | ||
| message | No | ||
| privacy | No | Present when the athlete's settings withhold data. | |
| org_name | No | ||
| warnings | No | ||
| next_step | No | What can be done next, for example after a failure. | |
| truncated | No | ||
| athlete_id | No | ||
| next_cursor | No | Reads the next page; null on the last page. | |
| reason_code | No | ||
| total_weeks | No | ||
| user_content | No | Fields in this result that people wrote. | |
| total_matches | No | ||
| weeks_returned | No | ||
| searched_members | No | ||
| truncated_fields | No | Lists cut to fit one response: rows returned and total. | |
| generated_content | No | Fields in this result that NexRex's AI wrote. | |
| session_definitions | No | Sessions that several rows of this result share by session_ref. | |
| content_block_fields | No | Column names of every content_blocks row, nested blocks rows included. |