search_objects_pattern
Searches D365 objects using wildcard patterns.
How to use it
search_objects_pattern is exposed by the MCP Xpp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the search_objects_pattern tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MCP XPP LISTINGOther tools in MCP Xpp (39)
X++ classes and business logic
Extended data types
Enumerations and value lists
User interface forms
Data queries
SSRS reports
Data tables and schema
Database views
(boolean, optional) - Delete dependent objects too (default: false)
(string, optional) - Required when inspectionMode='xppcode':
Specific collection items (requires collectionName)
(string, optional) - Required when inspectionMode='collection'
Creates D365 F&O objects using VS2022 service integration.
(arraystring, optional) - Table names for form datasources
(array, optional) - Model dependencies
Event handler methods only
Locates X++ objects by name with optional filtering.
(string, optional) - Output format: 'text' or 'json'
(string, optional) - Form name (required when mode='create')
Analyzes D365 objects with multiple inspection modes.
(string, optional) - Inspection level:
(string, optional) - Application layer (usr, cus, var)
(number, optional) - Maximum results (default: 50)
Extract all method source code
(string, required) - Operation mode:
(string, optional) - Filter by D365 model/package name
(string, optional) - D365 model/package name (default: 'ApplicationSuite')
(string) - Name of the D365 object
(string) - Object type (AxClass, AxTable, AxEnum, etc.) - Excludes AxForm
(string, optional) - Output directory (default: "Models")
(string, required) - Search pattern with wildcards (, ?)
(string, optional) - D365 form pattern to apply (e.g., 'SimpleListDetails', 'DetailsMaster', 'Dialog')
(string, optional) - Pattern version (default: 'UX7 1.0')
(object, optional) - Object-specific configuration
(string, optional) - Company name (default: "YourCompany")
Single method (requires methodName)
Fast overview with collection counts
(string, optional) - Version number (default: "1.0.0.0")
Extract X++ source code (requires codeTarget)