← Public packages
@kody/blandPublic
AGENTS.md
35 lines · 1.3 KB · Markdown@kody/bland — agent notes (Bland.ai phone calls)
Imports
import smokeTest from 'kody:@kody/bland/smoke-test'
import settings from 'kody:@kody/bland/settings'
import adapt from 'kody:@kody/bland/adapt'
import me from 'kody:@kody/bland/me'
import { sendCall } from 'kody:@kody/bland/send-call'
import { getCall } from 'kody:@kody/bland/get-call'
import { listCalls } from 'kody:@kody/bland/list-calls'
import { stopCall } from 'kody:@kody/bland/stop-call'
import { blandRequest } from 'kody:@kody/bland/request'Setup playbook
await adapt()after a community fork.- Send the owner the prefilled
blandApiKeyURL — never ask them to paste the value in chat. - Confirm host
api.bland.aiis approved on that secret. await smokeTest({ live: true })(hitsGET /v1/mewhenlive).- Dry-run
sendCall({ phone_number, task }). Passconfirm: trueonly for a live dial. - After a live send, poll
getCall({ call_id })untilcompletedis true (~5s), or setwebhookon send.
Auth
- Header:
Authorization: Bearer {{secret:blandApiKey|scope=user}} - Optional BYOT Twilio:
useEncryptedKey: true+ secretblandEncryptedKey - Mutations default to dry-run. GET list/get/me do not need
confirm.
Escapes
- Raw paths:
blandRequest({ method, path, body?, confirm? }) - Extra apps:
account: "work"→blandApiKey-work