BC Data docs

find_tools

Find the tool for a need

Describe what you need in plain words and get the tools and sources that answer it, best first, with an example call for each.

Cost: 1 unit of your allowance (see Rate limits).

Parameters

  • query (string, required): min length 1, max length 200
  • limit (integer, optional): min 1, max 10, default 5

REST

curl -X POST https://api.bcmcp.ca/v1/tools/find_tools \
  -H "Authorization: Bearer $BCDATA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"..."}'

MCP

Call the tool find_tools with these arguments. Over raw JSON-RPC:

curl -X POST https://api.bcmcp.ca/mcp \
  -H "Authorization: Bearer $BCDATA_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_tools","arguments":{"query":"..."}}}'

What comes back

Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.

On this page