update_pattern
Modify an existing pattern in Packmate by updating only the fields you specify. Change properties like name, value, color, action type, search type, direction, or service port.
Instructions
Update a pattern. Only provided fields are changed.
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": {
"pattern_id": "<pattern_id>"
},
"name": "update_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern_id | Yes | ||
| name | No | ||
| value | No | ||
| color | No | ||
| action_type | No | ||
| search_type | No | ||
| direction_type | No | ||
| service_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| value | Yes | ||
| color | No | ||
| actionType | Yes | ||
| searchType | Yes | ||
| directionType | Yes | ||
| service | No | ||
| enabled | No |