Skip to content

Commit b01e73d

Browse files
docs: trim prompt custom URL action variant intro
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
1 parent a824bd9 commit b01e73d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • fern/products/docs/pages/component-library/default-components

fern/products/docs/pages/component-library/default-components/prompt.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ Generate a TypeScript SDK from my OpenAPI spec. Follow the [TypeScript SDK quick
101101
102102
### With a custom URL action
103103
104-
Beyond the `cursor`, `claude`, and `chatgpt` shorthands, you can pass a custom action object to point at any AI tool. The `label` is rendered verbatim (no `Open in` prefix), and the `url` accepts an optional `{prompt}` placeholder that's replaced with the URL-encoded prompt body. If you omit `{prompt}`, the prompt is appended as a `prompt` query parameter. Custom URLs must use `http` or `https`. The optional `icon` accepts a [Font Awesome icon](/learn/docs/writing-content/components/icons) name or image URL and falls back to a sparkle icon when omitted.
105-
106-
Custom and built-in actions can be mixed in the same `actions` array.
104+
Pass a `{ label, url, icon? }` object in `actions` to point at any AI tool. Custom and built-in actions can be mixed in the same array.
107105
108106
<div className="highlight-frame">
109107
<div className="highlight-frame-content">

0 commit comments

Comments
 (0)