ExplainTool
Explains why a document matches or doesn't match a query, helping understand search relevance.
Instructions
Returns information about why a specific document matches (or doesn't match) a query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opensearch_url | Yes | OpenSearch endpoint URL. | |
| opensearch_username | No | Username for basic authentication. | |
| opensearch_password | No | Password for basic authentication. | |
| opensearch_no_auth | No | If true, connect without authentication. | |
| aws_region | No | AWS region for IAM/Serverless authentication. | |
| aws_iam_arn | No | IAM role ARN for role-based authentication. | |
| aws_profile | No | AWS profile name for authentication. | |
| aws_opensearch_serverless | No | If true, use OpenSearch Serverless service. | |
| opensearch_ssl_verify | No | If false, disable SSL certificate verification. | |
| opensearch_timeout | No | Connection timeout in seconds. | |
| index | Yes | ||
| id | Yes | ||
| body | Yes | Request body containing the query to explain. |