Developer documentation

find_similar

Jump to section

Credits: 0 per call. Plan: All plans.

Components similar to a given component id: the alternatives and variants of a file you already found. It describes that component (name, description, tags) to the same licence-cleared search as search_components, so every neighbour has a licence and attribution, and the component itself is left out. It costs nothing. An unknown id, or one that is not in the public library, returns an empty list.

Parameters

parametertyperequireddefault
idstringyes
limitintegerno8

Example call

{
  "name": "find_similar",
  "arguments": { "id": "<component id>", "limit": 8 }
}

What it returns

{"results": [...]}, the same shape as search_components, most similar first.

See also

Tool reference (all tools on one page), Error codes, Credits & plans. Other tools: search_components, check_component_security, get_component, list_categories, library_stats, list_licenses, get_component_bundle, compose_starter, licence_report.

Next step

Put the guidance into practice.

Explore components with visible source, scores and licence metadata.

Explore components