oxyo_skill_register
Validate and persist a reusable Python function into the skill library only after 100% of supplied test_cases pass in isolation, returning verification status. Use to save new tested utilities; use oxyo_skill_invoke to list or execute existing skills.
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": {
"name": "<name>",
"entrypoint": "<entrypoint>",
"description": "<description>",
"code": "<code>",
"test_cases": "<test_cases>"
},
"name": "oxyo_skill_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Pure standard-library Python source defining the `entrypoint` function. | |
| name | Yes | Unique snake_case identifier for the reusable skill. | |
| entrypoint | Yes | Top-level Python function name inside `code` invoked when running the skill. | |
| test_cases | Yes | Non-empty list of test objects {'args': [...], 'expected': ...} verified before saving. | |
| description | Yes | Clear summary of inputs, algorithm, and return value for future discovery. | |
| uses_skills | No | Optional names of previously registered skills composed by this function. | |
| share_collective | No | Allow sharing anonymized verified utility patterns with the collective skill pool. |