List targets
list_targetsList the targets registered in your workspace, agents and MCP servers (model_type 'MCP Server'), each with its latest run status and endpoint_host. Use a target's model_id with trigger_assessment or list_runs. Also the duplicate check before create_target: same name + endpoint_host in the same environment = the same target (reuse its model_id); if only one of name/host matches, ask your user before creating. Results are capped (default 50, max 200); check the 'truncated' flag. Requires the read scope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of targets returned (after the cap). | |
| targets | No | ||
| truncated | Yes | True when more targets exist than were returned; raise the limit. |