• AI reference · Area drops

create_drop_link

Create drop link. Only when the owner asks someone for files: an upload link anyone can use (no account) until it expires.

Where it is

In the drops area (upload links, people's uploads and share links): open it with tools_for { area: "drops" }, then call it with use_tool { name: "create_drop_link", args }.

Does it need a yes?

Needs the owner's yes: it makes a yes card, and nothing happens until the owner taps yes. Here: an upload link waits for its yes.

Inputs

InputTypeNeededAbout
namestringyesShown on the upload page, e.g. 'Riya · talking-head takes' · 1 to 120 characters
projectstringyes1 to 120 characters
departmentstringnoWhere the task arrives (default marketing) · format `^[a-z][a-z0-9-]{1,40}$`
instructionsstringnoThe owner's words to the sender. Each upload becomes a task with them · up to 4,000 characters
expires"24h" | "7d" | "30d"no
uses"single" | "several"no
maxFilesintegerno1 or more
maxFileBytesintegerno1 or more
maxTotalBytesintegerno1 or more
requestIdstringnoformat `^[A-Za-z0-9_.:@-]{6,120}$`
taskintegernoThe task this work is for, so the owner sees it there. · 1 or more
run_idstringnoYour run id from the connector's start, so the output ties back to this session · format `^[A-Za-z0-9_.:@-]{1,120}$`

Example

{
  "name": "create_drop_link",
  "arguments": {
    "name": "'Riya",
    "project": "project"
  }
}

When it is refused

  • invalid: The input isn't right. The sentence names the field and the fix; nothing was done. Fix it and call again.
  • not_found: No such thing in this company (a task, file, person, record). Check the number or name, or list first.
  • not_allowed: Not without another step: the owner's yes, your own task held with pick_up, or a setting the owner turns on. The sentence says which.
  • taken: Someone else holds it (another AI on that task). Pick another task.
  • stale: It changed since you read it. Read it again and use the new version.
  • failed: On our side or a service's, never your input. Try again in a minute; if it keeps failing, call report_problem.