manage_intune_scripts
List, get, create, update, delete, assign, and monitor Intune scripts for PowerShell, remediations, and macOS.
Instructions
Manage Intune PowerShell scripts, proactive remediations and macOS shell scripts.
script_type: powershell | remediation | macos
action values: list — List scripts (script_type) get — Get script details (script_id, script_type) create — Upload a new script (body, script_type) update — Update a script (script_id, body, script_type) delete — Delete a script (script_id, script_type, confirm=True) assign — Assign a script to groups (script_id, body, script_type) get_status — Device run states for a script (script_id, script_type)
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": {
"action": "<action>"
},
"name": "manage_intune_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| body | No | ||
| action | Yes | ||
| confirm | No | ||
| script_id | No | ||
| script_type | No | powershell |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||