{"title":"Page 8352 MCP Config Tool List, extension points 29","url":"https://jonas-paprotka.de/ref/page/8352-mcp-config-tool-list/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":8352,"name":"MCP Config Tool List","app":"System Application","url":"https://jonas-paprotka.de/ref/page/8352-mcp-config-tool-list/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/8352-mcp-config-tool-list/source/","path":"src/System Application/App/MCP/src/Configuration/Pages/MCPConfigToolList.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:8351":{"name":"MCP Config Implementation","url":"https://jonas-paprotka.de/ref/codeunit/8351-mcp-config-implementation/"},"codeunit:8350":{"name":"MCP Config","url":"https://jonas-paprotka.de/ref/codeunit/8350-mcp-config/"},"table:2000000293":{"name":"MCP Configuration Tool","url":"https://jonas-paprotka.de/ref/table/2000000293-mcp-configuration-tool/"}},"procs":[{"name":"Object Id.OnLookup","line":38,"kind":"trigger","steps":[[40,"call","AddAPIObjects",1]]},{"name":"Object Id.OnValidate","line":43,"kind":"trigger","steps":[[48,"ext","codeunit",8351,"ValidateAPIPageTool",2],[49,"ext","codeunit",8351,"GetHighestAPIPageVersion",1],[53,"ext","codeunit",8351,"ValidateAPIQueryTool",1],[54,"ext","codeunit",8351,"GetHighestAPIQueryVersion",1],[58,"ext","codeunit",8351,"ValidateAPICodeunitTool",1],[59,"ext","codeunit",8351,"GetHighestAPICodeunitVersion",1],[64,"call","SetPermissions",0]]},{"name":"API Version.OnLookup","line":104,"kind":"trigger","steps":[[113,"ext","codeunit",8351,"LookupAPIPageVersions",2],[115,"ext","codeunit",8351,"LookupAPIQueryVersions",2],[117,"ext","codeunit",8351,"LookupAPICodeunitVersions",2]]},{"name":"API Version.OnValidate","line":123,"kind":"trigger","steps":[[127,"ext","codeunit",8351,"ValidateAPIPageVersion",2],[129,"ext","codeunit",8351,"ValidateAPIQueryVersion",2],[131,"ext","codeunit",8351,"ValidateAPICodeunitVersion",2]]},{"name":"SelectAPIs.OnAction","line":151,"kind":"trigger","steps":[[153,"call","AddAPIObjects",1]]},{"name":"AddAPIsByAPIGroup.OnAction","line":163,"kind":"trigger","steps":[[165,"ext","codeunit",8351,"AddToolsByAPIGroup",1]]},{"name":"AddStandardAPITools.OnAction","line":176,"kind":"trigger","steps":[[178,"ext","codeunit",8351,"AddStandardAPITools",1]]},{"name":"AddStandardAPITools.OnAfterGetRecord","line":185,"kind":"trigger","steps":[[187,"call","SetPermissions",0],[188,"call","GetAllowCreateUpdateDeleteTools",0]]},{"name":"OnAfterGetCurrRecord","line":191,"kind":"trigger","steps":[[193,"call","SetPermissions",0],[194,"call","GetAllowCreateUpdateDeleteTools",0]]},{"name":"OnOpenPage","line":197,"kind":"trigger","steps":[[199,"call","GetAllowCreateUpdateDeleteTools",0],[200,"ext","codeunit",8351,"IsConfigurationActive",1]]},{"name":"AddAPIObjects","line":249,"kind":"procedure","access":"local","params":1,"steps":[[253,"ext","codeunit",8351,"LookupAPIObjects",3],[260,"ext","codeunit",8351,"CheckAPIToolExists",3],[261,"ext","codeunit",8350,"CreateAPITool",2],[263,"ext","codeunit",8351,"CheckAPIToolExists",3],[264,"ext","codeunit",8350,"CreateQueryAPITool",2],[266,"ext","codeunit",8351,"CheckAPIToolExists",3],[267,"ext","codeunit",8350,"CreateCodeunitAPITool",2],[272,"write",2000000293,"Delete"]]}]}