# get_component_bundle

**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

| parameter | type | required | default |
| --- | --- | --- | --- |
| `component_id` | string | yes |  |

- `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

```json
{
  "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](/docs/tools) (all tools on one page), [Error codes](/docs/errors), [Credits & plans](/docs/credits). Other tools: [`search_components`](/docs/tools/search-components), [`check_component_security`](/docs/tools/check-component-security), [`get_component`](/docs/tools/get-component), [`find_similar`](/docs/tools/find-similar), [`list_categories`](/docs/tools/list-categories), [`library_stats`](/docs/tools/library-stats), [`list_licenses`](/docs/tools/list-licenses), [`compose_starter`](/docs/tools/compose-starter), [`licence_report`](/docs/tools/licence-report).
