[
  {
    "description": "This session's machine on AgentSpaces: its name, project and organization.",
    "input_schema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "name": "agentspaces_whoami",
    "type": "custom"
  },
  {
    "description": "Send a text message to another machine of this AgentSpaces project, by its name. It wakes the machine if it sleeps.",
    "input_schema": {
      "additionalProperties": false,
      "properties": {
        "text": {
          "description": "the message",
          "type": "string"
        },
        "to": {
          "description": "the machine's name",
          "type": "string"
        }
      },
      "required": [
        "to",
        "text"
      ],
      "type": "object"
    },
    "name": "agentspaces_send_message",
    "type": "custom"
  },
  {
    "description": "Take the oldest message other machines of the project sent to this one, waiting up to timeout_s seconds (0: don't wait). Answers the message, or that there is none.",
    "input_schema": {
      "additionalProperties": false,
      "properties": {
        "timeout_s": {
          "maximum": 60,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "name": "agentspaces_read_inbox",
    "type": "custom"
  },
  {
    "description": "Upload a file from the workspace as an artifact of the AgentSpaces project and answer a URL to download it, for people and other agents.",
    "input_schema": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "description": "the artifact's name; default the file's",
          "type": "string"
        },
        "path": {
          "description": "the file, relative to the workspace",
          "type": "string"
        }
      },
      "required": [
        "path"
      ],
      "type": "object"
    },
    "name": "agentspaces_put_artifact",
    "type": "custom"
  },
  {
    "description": "Say in one line what you are doing; the AgentSpaces canvas shows it on this session's machine.",
    "input_schema": {
      "additionalProperties": false,
      "properties": {
        "text": {
          "maxLength": 200,
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    },
    "name": "agentspaces_set_status",
    "type": "custom"
  }
]
