Add custom doc tool to compress context

Cursors often have difficulty when implementing using 3rd party libraries.
The problem with this is that the cursor does not know to use the library.

Can cursor team add a tool to the cursor agent so that the cursor can refer to Custom Docs as appropriate?
Or is there a tool in the following that already has that functionality?