{"title":"Codeunit 8368 MCP Data Query Tools Feature, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/8368-mcp-data-query-tools-feature/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":"codeunit","id":8368,"name":"MCP Data Query Tools Feature","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/8368-mcp-data-query-tools-feature/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/8368-mcp-data-query-tools-feature/source/","path":"src/System Application/App/MCP/src/Configuration/Codeunits/MCPDataQueryToolsFeature.Codeunit.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:2000000023":{"name":"MCP Utilities","url":"https://jonas-paprotka.de/ref/codeunit/2000000023-mcp-utilities/"},"table:8353":{"name":"MCP System Tool","url":"https://jonas-paprotka.de/ref/table/8353-mcp-system-tool/"}},"procs":[{"name":"SetActive","line":14,"kind":"procedure","params":2,"steps":[[18,"ext","codeunit",8351,"EnableDataQueryTools",2]]},{"name":"IsActive","line":21,"kind":"procedure","params":1,"steps":[[25,"ext","codeunit",8351,"IsDataQueryToolsEnabled",1]]},{"name":"LoadSystemTools","line":43,"kind":"procedure","params":1,"steps":[[49,"ext","codeunit",2000000023,"GetSystemToolsInDataQuery",0],[51,"call","InsertTool",3]]},{"name":"InsertTool","line":59,"kind":"procedure","access":"local","params":3,"steps":[[64,"write",8353,"Insert"]]}]}