defectdojo_whoami
Checks DefectDojo API identity for CI/service tokens by querying user profile, /users/me/, or falling back to product counts when the user endpoint returns 404.
Instructions
Identity smoke: prefers GET /user_profile/ (username), then /users/me/, else products-count fallback for CI/service tokens. 404 on /users/me/ is normal on some DD builds.
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": "defectdojo_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||