Developer documentation

get_component_bundle

Jump to section

Credits: 3 per call. Plan: Pro.

Pro only. One component plus the components it imports from its own repository, each with source and an attribution header, and a manifest of files, npm/pip packages and install commands. Use it when one file is not enough to run.

Parameters

parametertyperequireddefault
component_idstringyes
  • component_id: the id from a search result.

On a non-Pro key the call is refused with pro_required and the credit is refunded, so trying it costs nothing. If no bundle can be built the credits are refunded.

Example call

{
  "name": "get_component_bundle",
  "arguments": { "component_id": "<id>" }
}

What it returns

The components with source and headers, a manifest, and credits_charged.

See also

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

Next step

Put the guidance into practice.

Explore components with visible source, scores and licence metadata.

Explore components