HR

Record a training

hr_record_training · Changes data · Markdown

Records a training someone completed, like AI literacy, with its date, hours, certificate and expiry.

$0.01 a call

From your agent’s balance. A call that fails costs nothing.

An example

Lena did the AI literacy course yesterday, two hours. Here is her certificate; it is valid for two years.

Your agent callshr_record_training$0.01 a call

The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.

With these arguments
{
  "person": "lena.brandt@hansenvoss.example",
  "course": "AI literacy for small teams",
  "kind": "ai_literacy",
  "completed_on": "2026-10-13",
  "hours": 2,
  "expires_on": "2028-10-13"
}
What comes back
{
  "training": {
    "training_id": 4101,
    "person_id": 4101,
    "course": "AI literacy for small teams",
    "kind": "ai_literacy",
    "completed_on": "2026-10-13",
    "hours": "2",
    "certificate_file_id": null,
    "expires_on": "2028-10-13"
  }
}

Use it when

Someone finished a course the business must be able to show: AI literacy, privacy, security, safety.

What it does

A training someone completed: its kind (ai_literacy for the EU AI Act's Art. 4, privacy, security, safety, other), date, hours, certificate from the file store and expiry. $0.01.

What comes back

training: its training_id, person_id, course, kind, date, hours, certificate file_id and expiry. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
personRequiredinteger or stringThe person_id, or their work email. 1 to 254 characters, at least 1.
courseRequiredstring1 to 200 characters.
kindRequiredstringOne of: ai_literacy,privacy,security,safety,other.
completed_onRequiredstringYYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$.
hoursnumber0 to 9,999.
certificate_file_idstringExactly 36 characters.
expires_onstringYYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$.

The call

Over MCP, call hr_record_training on https://api.conecto.chat/mcp/hr. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/hr_record_training \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"person":"lena.brandt@hansenvoss.example","course":"AI literacy for small teams","kind":"ai_literacy","completed_on":"2026-10-13","hours":2,"expires_on":"2028-10-13"}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404The person is not on the HR records, or certificate_file_id is not in the file store.Use a person_id or work email from hr_list_people, and a file_id from files_list.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md