> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/fetch-package.md).

# Fetch Package

## Description

This part allows you to retrieve the details of an installed package. You can use it to determine if a particular package is installed or to return a list of packages with certain attribute values; for example, all packages with the status equal to *active*. With this part the system returns the following attributes:

* Name
* Type (standalone, framework, framework\_based)
* Status (active, inactive)
* Version
* Runtime ( or ‘system’)
* Stamp (published time stamp)
* Project-settings
* Project\_guid (project id)
* Category

**Node Type:** This part is available in process nodes in the *Misc* menu.

**Used With:** This function can be used with all framework types.

## Editor Fields

The *Fetch Package* part has the following editor fields.

| Field Name   | Description/Use                                                                                                                                                                                                                                                                                                                                                                                         | Type/Options | Optional/Mandatory |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------ |
| Query with   | Based on this selection the part returns the package details of a particular package or of those packages that match the query.                                                                                                                                                                                                                                                                         | Dropdown     | Mandatory          |
| Package-name | This is the name of the package. The system displays this field if you select *Package name* for the *Query with* option.                                                                                                                                                                                                                                                                               | Text         | Mandatory          |
| XPath Query  | <p>This is the xpath query used to filter the packages. The system displays this field if you select <em>XPath query</em> for the <em>Query with</em> option.<br>To return all active packages based on the Assessment Framework you would use the following syntax:<br><em>/<strong>status\[</strong>\_.this == 'active']\_\_/../settings\[framework=='<strong>AssessmentFramework</strong>']</em></p> | Text         | Mandatory          |
| Data-object  | This is the name under which the system stores the package details.                                                                                                                                                                                                                                                                                                                                     | Text         | Mandatory          |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/fetch-package.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
