You can generate types for the plug tools by using the cli.Documentation Index
Fetch the complete documentation index at: https://docs.mcplug.ai/llms.txt
Use this file to discover all available pages before exploring further.
<PLUG_NAME>.d.ts file in the src or root directory of your project.
You can then use the type in your code by passing it as generic of the mcplug function.
toolCalls or toolResults properties of the result will be typed and you will be able to use them safely in your code.
Specifying the folder
You can specify the folder of the generated types by using the--folder flag.

