Pull a whole solution locally
cs_pull_solutionExports and unpacks a solution, generating deployment-settings.json and cloning agents for deployment.
Instructions
Export the solution (unmanaged and optionally managed), unpack it to /src, write /solution.json, generate deployment-settings.json (connection references + environment variables to map), and clone every agent in the solution into /agents/ as a sync-connected workspace. This is the input for cs_deploy_solution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Solution unique name | |
| targetDir | Yes | ||
| background | No | Run in the background and return a jobId immediately. Use this when the export is large enough that the MCP client times the call out; poll with cs_job_status. | |
| cloneAgents | No | Default true | |
| environment | No | Environment id or URL. Defaults to the active pac auth profile. | |
| packagetype | No | Default Both: exports both zips, unpacks both |