get_feature_importance
Rank a credit risk model's globally important features by mean absolute SHAP impact to answer what drives predictions overall. Returns top_n features with raw and friendly names plus scores.
Instructions
Return the model's globally most important features (by mean |SHAP|).
Use this for "what drives this model overall?" questions, as opposed to the reasons behind one borrower's score. Returns {"top_features": [...]} ranked by average absolute SHAP impact across a sample, each entry carrying its raw name, a friendly name, and its importance score.
Args: top_n: how many features to return (default 10).
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": "get_feature_importance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||