Updates the skills of a PolarClaw Agent.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-xxx |
| AgentId |
string |
Yes |
Agent ID |
work |
| Skills |
array |
No |
The skill allowlist. A value of null indicates that all skills are allowed. |
["alibacloud-rds-copilot"] |
|
string |
No |
The skill name. |
alibacloud-rds-copilot |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F45FFACC-xxx |
| Message |
string |
The response message. |
success |
| Code |
integer |
The return code. |
200 |
| ApplicationId |
string |
The application ID. |
pa-xxx |
| Ok |
boolean |
Indicates whether the operation was successful. |
true |
| AgentId |
string |
Agent ID |
work |
| Skills |
array |
The updated skill list. |
|
|
string |
The skill identifier. |
alibacloud-rds-copilot |
Examples
Success response
JSON format
{
"RequestId": "F45FFACC-xxx",
"Message": "success",
"Code": 200,
"ApplicationId": "pa-xxx",
"Ok": true,
"AgentId": "work",
"Skills": [
"alibacloud-rds-copilot"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.