Diagnose API Authentication 401
diagnose_api_auth_401Diagnose a sanitized HTTP 401 authentication failure without accepting credentials or contacting the target endpoint.
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": {
"error_message": "<error_message>",
"http_status": "<http_status>"
},
"name": "diagnose_api_auth_401"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| context | No | ||
| endpoint | No | Only scheme, host and path are retained; query and fragment are discarded. | |
| http_status | Yes | ||
| error_message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | ||
| trace_id | Yes | ||
| diagnosis | Yes | ||
| confidence | Yes | ||
| free_checks | Yes | ||
| collision_id | Yes | ||
| repair_scope | Yes | ||
| evidence_hash | Yes | ||
| failure_class | Yes | ||
| quote_endpoint | Yes | ||
| confidence_label | Yes | ||
| repair_available | Yes | ||
| secrets_redacted | Yes |