How to fetch
- If a HasData tool is connected, call the one whose name matches the task below. Read that tool's schema and fill the fields it asks for. Do not run a shell command when the tool exists.
- If no HasData tool is connected, ask the user to press Connect on the HasData connector for this chat. Do not install software and do not ask them to paste an API key.
- Use the
hasdatacommand only when the connector cannot be connected and the binary is already on PATH. Runhasdata --helpand use a Scholar command only if it is listed.
Which tool
| Ask | Tool name contains | Pass |
|---|---|---|
| Find papers | google_scholar_scholar | q |
| Citation formats for one result | google_scholar_cite | q (the cite id from the search result, not a new keyword) |
asYlo and asYhi are the start and end years. num is how many results. cites limits results to papers that cite a known result.
Do not call a tool whose name contains case_law. That tool is not part of the connector this plugin ships.
Return title, authors, year, and link from the tool output. Do not invent a citation the cite tool did not return.