Add license plan files to a solution project
cs_add_solution_licenseAttach ISV license plan definition and mapping CSV files to a Copilot Studio solution project, then run pac solution add-license locally using the active auth profile.
Instructions
Attach license plan definition and mapping CSV files to a solution project (ISV licensing). Run in the solution project folder (cwd). Local file change only. Runs 'pac solution add-license' with the active pac auth profile.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"planDefinitionFile": "<planDefinitionFile>",
"planMappingFile": "<planMappingFile>"
},
"name": "cs_add_solution_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for pac (for project commands: the solution project folder) | |
| profile | No | pac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles. | |
| background | No | Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status. | |
| timeoutSeconds | No | Default 600 | |
| planMappingFile | Yes | CSV: Service ID, Component name | |
| planDefinitionFile | Yes | CSV: Service ID, Display name, More info URL |