Tool Annotations

Tools
list_pages
update_section
create_page
publish
About this piece

Tool Annotations

An agent's tools listed with what each one touches, the reads and writes annotating themselves in turn and the withheld one striking through last.

Usage

The import and the props worth knowing about, in one place.

import { Code17 } from "@/components/beste/piece/code17";

<Code17
  surface="card"
  bordered={false}
  inverted={false}
  title="Tools"
  tools={[
    {
      "name": "list_pages",
      "access": "read"
    },
    {
      "name": "update_section",
      "access": "write"
    },
    {
      "name": "create_page",
      "access": "write"
    },
    {
      "name": "publish",
      "access": "withheld"
    }
  ]}
  readLabel="reads"
  writeLabel="writes draft"
  withheldLabel="not exposed"
  stepMs={460}
/>

More Code pieces

View all Code
const user = await fetchUser("42");
orielstudio.pt/llms.txt
# Oriel Skin Studio > Facials, brows and skin consultations > in Príncipe Real, Lisbon. ## Pages - [Treatments](https://orielstudio.pt/treatments) - [Shop](https://orielstudio.pt/shop) - [Book](https://orielstudio.pt/book)
const greeting = "Hello, Beste!";ts
members.ts
import { Sirius } from '@sirius/sdk'
const client = new Sirius(apiKey)
await client.members.create({ name })
greet.ts
export function greet(name: string) {
return `Hello, ${name}!`;
}
 
console.log(greet("Beste"));

Make sync retries configurable

src/sync/retry.ts

In reviewApproved
export function retry(task: Task) {
const max = 3;
const max = config.retries ?? 3;
return run(task, max);
Smiling man in a floral shirt

Leonard Cohen

Nice and small. Maybe call it retryLimit so it reads well in the config? Happy to ship either way.