resources_insertAbility

WRITE

Insert ability.

Parameters

namestringrequired
curveobjectrequired
shadowWeeksnumberrequired

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "resources_insertAbility",
  "arguments": {
    "name": "string",
    "curve": {},
    "shadowWeeks": 0
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "curve": {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "week": {
                "type": "number"
              },
              "value": {
                "type": "number"
              }
            },
            "required": [
              "week",
              "value"
            ]
          }
        }
      },
      "required": [
        "data"
      ]
    },
    "shadowWeeks": {
      "type": "number"
    }
  },
  "required": [
    "name",
    "curve",
    "shadowWeeks"
  ]
}