1. Create the module
Createagent/extensions/support.mjs:
pi API. Registration runs during manifest discovery and again when the sandbox extension host starts.
2. Declare the entrypoint
Add the relative path tosalambo.yaml:
auto by default. Use eager only when the extension must load as soon as the sandbox runtime starts.
3. Activate the tool
Ifagent/settings.json contains an explicit tool list, include the new name:
4. Validate discovery
- the normalized entrypoint;
- the tool name and description;
- the JSON parameter schema;
- the extension execution identifier.
manifest imports the module with a discovery API. It validates registrations but does not execute the real tool or lifecycle flow.
5. Deploy and execute it
Important boundary
Use.mjs examples unless your own build step emits runnable JavaScript. Salambo does not currently publish a TypeScript extension SDK, so the documentation does not assume one.
Next, learn the complete custom tool contract and then react to lifecycle events.