Connect and sign in

Test the connection First calls

A connection works when it has both read from Xale and saved something. Xale's starter message does both: read today, save a Note, and say where it is.

View as Markdown

First calls

CallWhat to check
initializeYou get instructions; read them. On a new connection, or while the person hasn't told Xale how they use it, they end with an offer of two starter messages, to make once early in the chat.
tools/listThe tools match the scopes the person kept. See Scopes.
pingAnswers {}.
prompts/listThe first two prompts are the starter messages: test_my_connection and tell_xale_how_i_use_it.

The test message

The prompt test_my_connection is the message the person sends:

text
Test my Xale connection: tell me what's on today, then save a Note called 'Hello from Claude' and tell me where to find it.

The app's name is Claude, ChatGPT or Grok when the connection is one of those, and “your AI” otherwise. To answer it:

  1. xale_read_today, and tell the person what's on.
  2. xale_save_note with a new requestId:
json
{ "markdown": "# Hello from Claude\n\nThis Note was saved by Claude to test the Xale connection.", "requestId": "test-connection-2026-12-02" }
  1. Give the person the href from the result: the Note's address in Xale.

Tested, in Settings

Once an app is connected and Pro is active, Settings › Connected apps shows Finish setting up:

StepTicked when
Connected (the app's name)A connection exists
TestedOne connection has both read from Xale and saved or changed something of the person's
Told Xale how you use itThe person's "How I use Xale" answers are saved

A removal preview or a check-in's bookkeeping doesn't count as a save.

The other starter message

The prompt tell_xale_how_i_use_it interviews the person with four questions, one at a time, then saves their answers with xale_save_my_instructions after their yes. See How I use Xale · read it first.

  • Checked against main 8aef9b15

Was this helpful?

test-the-connection-first-calls.md · main@c1725f34