Search Tables
search_tablesSearch SAP tables by name, description, or field name to find where data such as material master or MATNR is stored. Returns matching tables with relevance scores.
Instructions
Search for SAP tables by name, description, or field. Use this when the user asks things like:
'What table stores material master data?'
'Which table has the MATNR field?'
'Find tables related to purchase orders'
Returns matching tables with relevance scores.
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": {
"query": "<query>"
},
"name": "search_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default 10, max 50) | |
| query | Yes | Search query - can be a table name (e.g., 'MARA'), partial name (e.g., 'MAR'), description keywords (e.g., 'material master'), or field name (e.g., 'MATNR') | |
| include_fields | No | Also search within field names and descriptions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | Guidance when no results | |
| query | Yes | The search query used | |
| results | Yes | Matching tables | |
| success | No | ||
| total_results | Yes | Number of results found | |
| total_in_catalog | Yes | Total tables in catalog |