> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-cpf-integration-guide/custom-provider-framework/tool-validation.md).

# Tool Validation

### Testing the RAS Custom Provider Script

The Custom Provider Test Framework is a PowerShell-based validation toolkit for testing RAS Custom Provider scripts outside the RAS Console. It helps script authors verify both low-level protocol methods and higher-level workflows such as template creation, maintenance mode operations, and host creation.

### Purpose

The framework is intended to make development and troubleshooting easier by letting you send the same kinds of requests that RAS sends to a custom provider script. This allows you to validate script behavior before integrating it into a live RAS workflow. The tests cover connection handling, guest enumeration, guest control, template conversion, cloning, snapshot operations, and asynchronous task polling.

### Framework structure

The test framework includes these core files:

* `CustomProvider.psd1` — main configuration file used to define how the provider script should be launched and which custom settings should be passed to it.
* `CustomProvider.psm1` — supporting module used by the test scripts.
* `Individual Test-*.ps1` scripts — each script exercises a specific provider method or higher-level workflow.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-cpf-integration-guide/custom-provider-framework/tool-validation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
