security.token_diagnostic
Combine token risk and contract health audit into one diagnostic report to evaluate honeypot/tax risk and LP lock/burn status before trading an unfamiliar token.
Instructions
Bundles get_token_risk + get_contract_health_audit into one combined
diagnostic report (same GoPlus data, run in parallel, one upstream round
trip), plus a deduped union of risk_flags. Does not compute a composite
score/grade - every field is copied unchanged from the two underlying tools.
Use this right before buying or swapping an unfamiliar token when you want
both honeypot/tax risk AND LP lock/burn status in one call, instead of
calling get_token_risk and get_contract_health_audit separately. Do NOT
use it if you only need one of the two - call that single tool directly
to save a round trip. Does not cover token unlock/vesting risk - use
get_token_dump_risk separately for that.
Args:
chain_id: EVM chain id, e.g. 8453 for Base.
contract_address: Token contract address (0x...).
Returns:
On success: {"success": true, ...combined token_risk + contract_health_audit fields}
On failure: {"success": false, "error": {"type", "message"}}
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": {
"chain_id": "<chain_id>",
"contract_address": "<contract_address>"
},
"name": "security.token_diagnostic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | ||
| contract_address | Yes |