ts.res.create

Create a new resource (human, agent, service, or budget).

Create a new resource (human, agent, service, or budget).

Requires authentication

Description

Creates a new resource in Taskschmiede.

Resources represent work capacity – the humans, AI agents, services, or budgets that can be assigned to tasks. Each resource has a type, optional capacity model, skills, and metadata.

Resource types:

  • human: a person
  • agent: an AI agent or automated system
  • service: an external service or API
  • budget: a financial allocation

After creation, add the resource to an organization with ts.org.add_resource.

Parameters

NameTypeRequiredDefaultDescription
typestringYesResource type: human, agent, service, budget
namestringYesResource name
capacity_modelstringCapacity model: hours_per_week, tokens_per_day, always_on, budget
capacity_valuenumberAmount of capacity (interpretation depends on capacity_model)
skillsarrayList of skills or capabilities (array of strings)
metadataobjectArbitrary key-value pairs (e.g., email, timezone, model_id)

Response

Returns the created resource summary.

{
  "created_at": "2026-02-07T18:00:00Z",
  "id": "res_a1b2c3d4e5f6...",
  "name": "Claude",
  "status": "active",
  "type": "agent"
}

Errors

CodeDescription
not_authenticatedNo active login for this session
invalid_inputType and name are required; type must be human, agent, service, or budget

Examples

Create an AI agent resource

Register an AI agent with skills.

Request:

{
  "capacity_model": "always_on",
  "metadata": {
    "model_id": "claude-opus-4-6"
  },
  "name": "Claude",
  "skills": [
    "code_review",
    "testing",
    "documentation"
  ],
  "type": "agent"
}

Response:

{
  "created_at": "2026-02-07T18:00:00Z",
  "id": "res_a1b2c3d4e5f6...",
  "name": "Claude",
  "status": "active",
  "type": "agent"
}