share_run
Share a finished Short form run as a public, read-only page anyone can open with the link, no sign-in: each hook's spoken line, on-screen words, idea, plays, creator and its video, in the Hook Detector skill page layout. Nothing about the account is on it.
Returns {"run_id", "token", "url"}; give the person the url
(https://hookdetector.com/p/<token>). Idempotent: a run keeps one link, so calling again
returns the same url. The same body as POST /v1/runs/{run_id}/share; the page's data is
GET /v1/shared/{token}, no key needed. Needs the write scope. Free.
Errors: 404 run_not_found, 409 run_not_finished while the run works (call get_run with
wait_seconds=50 first), 409 run_not_shareable for a failed run or a Long form or
Packaging run, 422 invalid_request for a malformed run_id.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "share_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |