@neon/tools 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,10 +8,13 @@ npm install @neon/tools
8
8
 
9
9
  ## Create tools
10
10
 
11
- Selectors are SDK paths. The returned record is keyed by those paths. Each tool's published `id` is the path in snake_case (`projects.list` → `projects_list`). `toolIds` lists every published selector.
11
+ Selectors are SDK paths. The returned record is keyed by those paths. Each tool's published `id` is the last path segment, then the resource, in snake_case (`projects.list` → `list_projects`, `postgres.roles.resetPassword` → `reset_password_postgres_roles`, `postgres.connectionString` → `connection_string_postgres`). `publishedId` derives that string. `toolIds` lists every published selector.
12
12
 
13
13
  ```ts
14
- import { createNeonTools } from "@neon/tools";
14
+ import { createNeonTools, publishedId } from "@neon/tools";
15
+
16
+ publishedId("projects.list"); // "list_projects"
17
+ publishedId("postgres.roles.resetPassword"); // "reset_password_postgres_roles"
15
18
 
16
19
  const apiKey = process.env.NEON_API_KEY;
17
20
  if (!apiKey) throw new Error("NEON_API_KEY is required");
@@ -34,7 +37,7 @@ const created = await tools["projects.createAndConnect"].execute({
34
37
 
35
38
  `limit` on a list tool caps how many items come back.
36
39
 
37
- MCP and Mastra publish `tool.id` (`projects_list`), not the record key.
40
+ MCP and Mastra publish `tool.id` (`list_projects`), not the record key.
38
41
 
39
42
  `apiKey` is a Bearer credential: a Neon API key or a Neon OAuth access token. A function is called on every request, which is how short-lived OAuth tokens get refreshed. A credential is required when a tool executes — at construction, on `execute()`, or from MCP `authInfo` — and an empty value is rejected rather than ignored.
40
43
 
@@ -74,7 +77,7 @@ These public client methods are not tools: `projects.create`, `branches.create`,
74
77
 
75
78
  ### Descriptions
76
79
 
77
- Pass a map keyed by SDK path or published `id`, or a function that can append to the generated text:
80
+ Pass a map keyed by SDK path or the current published `id`, or a function that can append to the generated text. A key that matches neither is ignored.
78
81
 
79
82
  ```ts
80
83
  const tools = createNeonTools({
@@ -83,7 +86,7 @@ const tools = createNeonTools({
83
86
  descriptions: {
84
87
  "projects.list":
85
88
  "List Neon projects in your account. Do not use for projects shared with you.",
86
- projects_delete:
89
+ delete_projects:
87
90
  "Delete a Neon project and all its data. NEVER run autonomously; always ask the user first.",
88
91
  },
89
92
  });
@@ -118,7 +121,7 @@ const tools = createNeonTools({
118
121
  });
119
122
  ```
120
123
 
121
- Those tools publish as `neon_create_branch` and `neon_projects_list`. The record is still keyed by SDK path (`tools["branches.createWithCompute"]`). MCP and Mastra publish `tool.id`. Eve uses the filename as the model-facing name, so name the file after the published `id`. Duplicate or non-snake-case ids throw, and a `names` key that matches no selected tool throws.
124
+ Those tools publish as `neon_create_branch` and `neon_list_projects`. The record is still keyed by SDK path (`tools["branches.createWithCompute"]`). MCP and Mastra publish `tool.id`. Eve uses the filename as the model-facing name, so name the file after the published `id`. Duplicate or non-snake-case ids throw, and a `names` key that matches no selected tool throws.
122
125
 
123
126
  ### Project and branch injection
124
127
 
@@ -228,6 +231,8 @@ MCP annotations are advisory; the protocol does not enforce approval. Tools expo
228
231
 
229
232
  Eve requires Node.js 24 or later.
230
233
 
234
+ `create_and_connect_projects.ts`:
235
+
231
236
  ```ts
232
237
  import { defineTool } from "eve/tools";
233
238
  import { createNeonTool } from "@neon/tools";
@@ -245,7 +250,7 @@ export default defineTool(
245
250
  );
246
251
  ```
247
252
 
248
- Eve uses the filename as the model-facing tool name, so name the file after the tool's snake-case `id`. The adapter maps approval requirements to Eve's `approval` hook and forwards its abort signal.
253
+ Eve uses the filename as the model-facing tool name, so name the file after the published `id`. The adapter maps approval requirements to Eve's `approval` hook and forwards its abort signal.
249
254
 
250
255
  ## Mastra
251
256
 
@@ -265,8 +270,8 @@ const neonTools = createNeonTools({
265
270
  });
266
271
  const configs = toMastraTools(neonTools);
267
272
 
268
- const listProjects = createTool(configs.projects_list);
269
- const createProject = createTool(configs.projects_create_and_connect);
273
+ const listProjects = createTool(configs.list_projects);
274
+ const createProject = createTool(configs.create_and_connect_projects);
270
275
  ```
271
276
 
272
277
  The adapter maps approval requirements to Mastra's `requireApproval` field and forwards its abort signal.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { NeonError } from "@neon/sdk";
2
2
  import { type InjectedNeonTool, type NeonToolCustomizeOptions, type NeonToolInjectOptions, type NeonToolNameOverrides } from "./lib/customize.js";
3
- import { type NeonToolId, type ToolClientOptions, toolFactories, toolIds } from "./lib/ergonomic/index.js";
3
+ import { type NeonToolId, type PublishedId, publishedId, type ToolClientOptions, toolFactories, toolIds } from "./lib/ergonomic/index.js";
4
4
  export type { NeonBearerCredential } from "./lib/auth.js";
5
5
  export type { InjectedNeonTool, NeonToolCustomizeOptions, NeonToolDescriptionOverrides, NeonToolDescriptionSource, NeonToolInjectOptions, NeonToolInjectValue, NeonToolNameOverrides, NeonToolNameSource, NeonToolOnExecute, NeonToolOnExecuteEvent, } from "./lib/customize.js";
6
6
  export type { JsonSafe, JsonSafeBlob, NeonTool, NeonToolAnnotations, NeonToolExecutionContext, NeonToolMetadata, NeonToolResult, } from "./lib/operation.js";
7
- export type { NeonToolId };
8
- export { NeonError, toolIds };
7
+ export type { NeonToolId, PublishedId };
8
+ export { NeonError, publishedId, toolIds };
9
9
  type ToolFactories = typeof toolFactories;
10
10
  export type NeonTools<Tools extends readonly NeonToolId[] = []> = {
11
11
  [Tool in Tools[number]]: ReturnType<ToolFactories[Tool]>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAIN,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEN,KAAK,UAAU,EACf,KAAK,iBAAiB,EAEtB,aAAa,EACb,OAAO,EAEP,MAAM,0BAA0B,CAAC;A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
@@ -1,4 +1,5 @@
1
1
  import { applyToolCustomization, assertToolCustomizeOptions, hasToolCustomization } from "./lib/customize.js";
2
+ import { publishedId } from "./lib/ergonomic/bind.js";
2
3
  import { toolFactories } from "./lib/ergonomic/catalog.js";
3
4
  import { isNeonToolId, toolIds, unpublishedToolError } from "./lib/ergonomic/ids.js";
4
5
  import { NeonError } from "@neon/sdk";
@@ -53,4 +54,4 @@ function createNeonTool(id, options) {
53
54
  return hasToolCustomization(options) ? applyToolCustomization(tool, options) : tool;
54
55
  }
55
56
  //#endregion
56
- export { NeonError, createNeonTool, createNeonTools, toolIds };
57
+ export { NeonError, createNeonTool, createNeonTools, publishedId, toolIds };
@@ -11,7 +11,10 @@ export interface ToolClientOptions {
11
11
  wait?: NeonConfig["wait"];
12
12
  }
13
13
  type Snake<S extends string> = S extends `${infer Head}${infer Rest}` ? Head extends Uppercase<Head> ? Head extends Lowercase<Head> ? `${Head}${Snake<Rest>}` : `_${Lowercase<Head>}${Snake<Rest>}` : `${Head}${Snake<Rest>}` : S;
14
- export type PublishedId<Id extends string> = Id extends `${infer Head}.${infer Rest}` ? `${Snake<Head>}_${PublishedId<Rest>}` : Snake<Id>;
14
+ type LastSegment<Id extends string> = Id extends `${string}.${infer Rest}` ? LastSegment<Rest> : Id;
15
+ type ResourcePath<Id extends string, Acc extends string = ""> = Id extends `${infer Head}.${infer Rest}` ? ResourcePath<Rest, Acc extends "" ? Head : `${Acc}.${Head}`> : Acc;
16
+ type SnakeDots<Id extends string> = Id extends `${infer Head}.${infer Rest}` ? `${Snake<Head>}_${SnakeDots<Rest>}` : Snake<Id>;
17
+ export type PublishedId<Id extends string> = Id extends `${string}.${string}` ? `${Snake<LastSegment<Id>>}_${SnakeDots<ResourcePath<Id>>}` : Snake<Id>;
15
18
  export declare const publishedId: <Id extends string>(id: Id) => PublishedId<Id>;
16
19
  export declare const toolClient: (options: ToolClientOptions, context?: NeonToolExecutionContext) => NeonClient<true>;
17
20
  export declare const collectObjectList: (neon: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,EACf,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CACzB,CAAC"}
@@ -6,7 +6,12 @@ import * as z from "zod";
6
6
  //#region src/lib/ergonomic/bind.ts
7
7
  const ALL_PAGES = " This tool returns every page. Pass limit to cap how many items come back. Do not pass a cursor.";
8
8
  const inertClient = createNeonClient({ apiKey: "unused" }).client;
9
- const publishedId = (id) => id.split(".").map((segment) => segment.replace(/[A-Z]/g, (character) => `_${character.toLowerCase()}`)).join("_");
9
+ const snakeSegment = (segment) => segment.replace(/[A-Z]/g, (character) => `_${character.toLowerCase()}`);
10
+ const publishedId = (id) => {
11
+ const dot = id.lastIndexOf(".");
12
+ if (dot === -1) return snakeSegment(id);
13
+ return `${snakeSegment(id.slice(dot + 1))}_${id.slice(0, dot).split(".").map(snakeSegment).join("_")}`;
14
+ };
10
15
  const resolveApiKey = (options, context) => {
11
16
  if (context !== void 0 && "apiKey" in context) {
12
17
  if (context.apiKey === void 0) throw new TypeError("A Neon API key or OAuth access token is required");
@@ -27,7 +27,7 @@ export declare const toolFactories: {
27
27
  limit?: number | undefined;
28
28
  timeout?: number | undefined;
29
29
  recoverable?: boolean | undefined;
30
- }>>, "projects_list", {
30
+ }>>, "list_projects", {
31
31
  id: string;
32
32
  platform_id: string;
33
33
  region_id: string;
@@ -96,7 +96,7 @@ export declare const toolFactories: {
96
96
  }[]>;
97
97
  "projects.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
98
98
  project_id: z.ZodString;
99
- }, z.core.$strict>, "projects_get", {
99
+ }, z.core.$strict>, "get_projects", {
100
100
  data_storage_bytes_hour: number;
101
101
  data_transfer_bytes: number;
102
102
  written_data_bytes: number;
@@ -228,7 +228,7 @@ export declare const toolFactories: {
228
228
  store_passwords: z.ZodOptional<z.ZodBoolean>;
229
229
  history_retention_seconds: z.ZodOptional<z.ZodInt>;
230
230
  org_id: z.ZodOptional<z.ZodString>;
231
- }, z.core.$strict>, "projects_create_and_connect", {
231
+ }, z.core.$strict>, "create_and_connect_projects", {
232
232
  project: {
233
233
  data_storage_bytes_hour: number;
234
234
  data_transfer_bytes: number;
@@ -350,7 +350,7 @@ export declare const toolFactories: {
350
350
  suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
351
351
  }, z.core.$strict>>;
352
352
  history_retention_seconds: z.ZodOptional<z.ZodInt>;
353
- }, z.core.$strict>, "projects_update", {
353
+ }, z.core.$strict>, "update_projects", {
354
354
  data_storage_bytes_hour: number;
355
355
  data_transfer_bytes: number;
356
356
  written_data_bytes: number;
@@ -429,7 +429,7 @@ export declare const toolFactories: {
429
429
  }>;
430
430
  "projects.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
431
431
  project_id: z.ZodString;
432
- }, z.core.$strict>, "projects_delete", {
432
+ }, z.core.$strict>, "delete_projects", {
433
433
  data_storage_bytes_hour: number;
434
434
  data_transfer_bytes: number;
435
435
  written_data_bytes: number;
@@ -508,7 +508,7 @@ export declare const toolFactories: {
508
508
  }>;
509
509
  "projects.recover": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
510
510
  project_id: z.ZodString;
511
- }, z.core.$strict>, "projects_recover", {
511
+ }, z.core.$strict>, "recover_projects", {
512
512
  data_storage_bytes_hour: number;
513
513
  data_transfer_bytes: number;
514
514
  written_data_bytes: number;
@@ -589,14 +589,14 @@ export declare const toolFactories: {
589
589
  source_org_id: z.ZodString;
590
590
  destination_org_id: z.ZodString;
591
591
  project_ids: z.ZodArray<z.ZodString>;
592
- }, z.core.$strict>, "projects_transfer", null>;
592
+ }, z.core.$strict>, "transfer_projects", null>;
593
593
  "projects.transferFromUser": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
594
594
  destination_org_id: z.ZodString;
595
595
  project_ids: z.ZodArray<z.ZodString>;
596
- }, z.core.$strict>, "projects_transfer_from_user", null>;
596
+ }, z.core.$strict>, "transfer_from_user_projects", null>;
597
597
  "projects.permissions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
598
598
  project_id: z.ZodString;
599
- }, z.core.$strict>, "projects_permissions_list", {
599
+ }, z.core.$strict>, "list_projects_permissions", {
600
600
  id: string;
601
601
  granted_to_email: string;
602
602
  granted_at: string;
@@ -605,7 +605,7 @@ export declare const toolFactories: {
605
605
  "projects.permissions.grant": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
606
606
  project_id: z.ZodString;
607
607
  email: z.ZodEmail;
608
- }, z.core.$strict>, "projects_permissions_grant", {
608
+ }, z.core.$strict>, "grant_projects_permissions", {
609
609
  id: string;
610
610
  granted_to_email: string;
611
611
  granted_at: string;
@@ -614,7 +614,7 @@ export declare const toolFactories: {
614
614
  "projects.permissions.revoke": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
615
615
  project_id: z.ZodString;
616
616
  permission_id: z.ZodString;
617
- }, z.core.$strict>, "projects_permissions_revoke", {
617
+ }, z.core.$strict>, "revoke_projects_permissions", {
618
618
  id: string;
619
619
  granted_to_email: string;
620
620
  granted_at: string;
@@ -632,7 +632,7 @@ export declare const toolFactories: {
632
632
  }, {
633
633
  project_id: string;
634
634
  limit?: number | undefined;
635
- }>>, "projects_members_list", {
635
+ }>>, "list_projects_members", {
636
636
  member_id: string;
637
637
  user_id: string;
638
638
  email?: string | null | undefined;
@@ -653,7 +653,7 @@ export declare const toolFactories: {
653
653
  editor: "editor";
654
654
  admin: "admin";
655
655
  }>;
656
- }, z.core.$strict>, "projects_members_set_role", {
656
+ }, z.core.$strict>, "set_role_projects_members", {
657
657
  project_id: string;
658
658
  member_id: string;
659
659
  user_id: string;
@@ -671,7 +671,7 @@ export declare const toolFactories: {
671
671
  project_id: z.ZodString;
672
672
  member_id: z.ZodUUID;
673
673
  confirm_self_lockout: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
674
- }, z.core.$strict>, "projects_members_remove_role", {
674
+ }, z.core.$strict>, "remove_role_projects_members", {
675
675
  project_id: string;
676
676
  member_id: string;
677
677
  user_id: string;
@@ -713,7 +713,7 @@ export declare const toolFactories: {
713
713
  sort_order?: "asc" | "desc" | undefined;
714
714
  limit?: number | undefined;
715
715
  include_deleted?: boolean | undefined;
716
- }>>, "branches_list", {
716
+ }>>, "list_branches", {
717
717
  id: string;
718
718
  project_id: string;
719
719
  parent_id?: string | null | undefined;
@@ -759,7 +759,7 @@ export declare const toolFactories: {
759
759
  "branches.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
760
760
  project_id: z.ZodString;
761
761
  branch_id: z.ZodString;
762
- }, z.core.$strict>, "branches_get", {
762
+ }, z.core.$strict>, "get_branches", {
763
763
  id: string;
764
764
  project_id: string;
765
765
  parent_id?: string | null | undefined;
@@ -812,7 +812,7 @@ export declare const toolFactories: {
812
812
  suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
813
813
  }, z.core.$strict>>;
814
814
  pooled: z.ZodOptional<z.ZodBoolean>;
815
- }, z.core.$strict>, "branches_create_with_compute", {
815
+ }, z.core.$strict>, "create_with_compute_branches", {
816
816
  branch: {
817
817
  id: string;
818
818
  project_id: string;
@@ -903,7 +903,7 @@ export declare const toolFactories: {
903
903
  name: z.ZodOptional<z.ZodString>;
904
904
  protected: z.ZodOptional<z.ZodBoolean>;
905
905
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
906
- }, z.core.$strict>, "branches_update", {
906
+ }, z.core.$strict>, "update_branches", {
907
907
  id: string;
908
908
  project_id: string;
909
909
  parent_id?: string | null | undefined;
@@ -958,10 +958,10 @@ export declare const toolFactories: {
958
958
  }, {
959
959
  project_id: string;
960
960
  branch_id: string;
961
- }>>, "branches_delete", null>;
961
+ }>>, "delete_branches", null>;
962
962
  "branches.getDefault": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
963
963
  project_id: z.ZodString;
964
- }, z.core.$strict>, "branches_get_default", {
964
+ }, z.core.$strict>, "get_default_branches", {
965
965
  id: string;
966
966
  project_id: string;
967
967
  parent_id?: string | null | undefined;
@@ -1007,7 +1007,7 @@ export declare const toolFactories: {
1007
1007
  "branches.setDefault": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1008
1008
  project_id: z.ZodString;
1009
1009
  branch_id: z.ZodString;
1010
- }, z.core.$strict>, "branches_set_default", {
1010
+ }, z.core.$strict>, "set_default_branches", {
1011
1011
  id: string;
1012
1012
  project_id: string;
1013
1013
  parent_id?: string | null | undefined;
@@ -1054,7 +1054,7 @@ export declare const toolFactories: {
1054
1054
  project_id: z.ZodString;
1055
1055
  branch_id: z.ZodString;
1056
1056
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1057
- }, z.core.$strict>, "branches_finalize_restore", null>;
1057
+ }, z.core.$strict>, "finalize_restore_branches", null>;
1058
1058
  "postgres.connectionString": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1059
1059
  project_id: z.ZodString;
1060
1060
  branch_id: z.ZodOptional<z.ZodString>;
@@ -1062,10 +1062,10 @@ export declare const toolFactories: {
1062
1062
  database_name: z.ZodString;
1063
1063
  role_name: z.ZodString;
1064
1064
  pooled: z.ZodOptional<z.ZodBoolean>;
1065
- }, z.core.$strict>, "postgres_connection_string", string>;
1065
+ }, z.core.$strict>, "connection_string_postgres", string>;
1066
1066
  "postgres.endpoints.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1067
1067
  project_id: z.ZodString;
1068
- }, z.core.$strict>, "postgres_endpoints_list", {
1068
+ }, z.core.$strict>, "list_postgres_endpoints", {
1069
1069
  host: string;
1070
1070
  id: string;
1071
1071
  name?: string | null | undefined;
@@ -1107,7 +1107,7 @@ export declare const toolFactories: {
1107
1107
  "postgres.endpoints.listByBranch": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1108
1108
  project_id: z.ZodString;
1109
1109
  branch_id: z.ZodString;
1110
- }, z.core.$strict>, "postgres_endpoints_list_by_branch", {
1110
+ }, z.core.$strict>, "list_by_branch_postgres_endpoints", {
1111
1111
  host: string;
1112
1112
  id: string;
1113
1113
  name?: string | null | undefined;
@@ -1149,7 +1149,7 @@ export declare const toolFactories: {
1149
1149
  "postgres.endpoints.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1150
1150
  project_id: z.ZodString;
1151
1151
  endpoint_id: z.ZodString;
1152
- }, z.core.$strict>, "postgres_endpoints_get", {
1152
+ }, z.core.$strict>, "get_postgres_endpoints", {
1153
1153
  host: string;
1154
1154
  id: string;
1155
1155
  name?: string | null | undefined;
@@ -1215,7 +1215,7 @@ export declare const toolFactories: {
1215
1215
  passwordless_access: z.ZodOptional<z.ZodBoolean>;
1216
1216
  suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
1217
1217
  name: z.ZodOptional<z.ZodString>;
1218
- }, z.core.$strict>, "postgres_endpoints_create", {
1218
+ }, z.core.$strict>, "create_postgres_endpoints", {
1219
1219
  host: string;
1220
1220
  id: string;
1221
1221
  name?: string | null | undefined;
@@ -1277,7 +1277,7 @@ export declare const toolFactories: {
1277
1277
  passwordless_access: z.ZodOptional<z.ZodBoolean>;
1278
1278
  suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
1279
1279
  name: z.ZodOptional<z.ZodString>;
1280
- }, z.core.$strict>, "postgres_endpoints_update", {
1280
+ }, z.core.$strict>, "update_postgres_endpoints", {
1281
1281
  host: string;
1282
1282
  id: string;
1283
1283
  name?: string | null | undefined;
@@ -1319,11 +1319,11 @@ export declare const toolFactories: {
1319
1319
  "postgres.endpoints.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1320
1320
  project_id: z.ZodString;
1321
1321
  endpoint_id: z.ZodString;
1322
- }, z.core.$strict>, "postgres_endpoints_delete", null>;
1322
+ }, z.core.$strict>, "delete_postgres_endpoints", null>;
1323
1323
  "postgres.endpoints.start": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1324
1324
  project_id: z.ZodString;
1325
1325
  endpoint_id: z.ZodString;
1326
- }, z.core.$strict>, "postgres_endpoints_start", {
1326
+ }, z.core.$strict>, "start_postgres_endpoints", {
1327
1327
  host: string;
1328
1328
  id: string;
1329
1329
  name?: string | null | undefined;
@@ -1365,7 +1365,7 @@ export declare const toolFactories: {
1365
1365
  "postgres.endpoints.suspend": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1366
1366
  project_id: z.ZodString;
1367
1367
  endpoint_id: z.ZodString;
1368
- }, z.core.$strict>, "postgres_endpoints_suspend", {
1368
+ }, z.core.$strict>, "suspend_postgres_endpoints", {
1369
1369
  host: string;
1370
1370
  id: string;
1371
1371
  name?: string | null | undefined;
@@ -1407,7 +1407,7 @@ export declare const toolFactories: {
1407
1407
  "postgres.endpoints.restart": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1408
1408
  project_id: z.ZodString;
1409
1409
  endpoint_id: z.ZodString;
1410
- }, z.core.$strict>, "postgres_endpoints_restart", {
1410
+ }, z.core.$strict>, "restart_postgres_endpoints", {
1411
1411
  host: string;
1412
1412
  id: string;
1413
1413
  name?: string | null | undefined;
@@ -1449,7 +1449,7 @@ export declare const toolFactories: {
1449
1449
  "postgres.roles.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1450
1450
  project_id: z.ZodString;
1451
1451
  branch_id: z.ZodString;
1452
- }, z.core.$strict>, "postgres_roles_list", {
1452
+ }, z.core.$strict>, "list_postgres_roles", {
1453
1453
  branch_id: string;
1454
1454
  name: string;
1455
1455
  password?: string | null | undefined;
@@ -1462,7 +1462,7 @@ export declare const toolFactories: {
1462
1462
  project_id: z.ZodString;
1463
1463
  branch_id: z.ZodString;
1464
1464
  role_name: z.ZodString;
1465
- }, z.core.$strict>, "postgres_roles_get", {
1465
+ }, z.core.$strict>, "get_postgres_roles", {
1466
1466
  branch_id: string;
1467
1467
  name: string;
1468
1468
  password?: string | null | undefined;
@@ -1476,7 +1476,7 @@ export declare const toolFactories: {
1476
1476
  branch_id: z.ZodString;
1477
1477
  name: z.ZodString;
1478
1478
  no_login: z.ZodOptional<z.ZodBoolean>;
1479
- }, z.core.$strict>, "postgres_roles_create", {
1479
+ }, z.core.$strict>, "create_postgres_roles", {
1480
1480
  branch_id: string;
1481
1481
  name: string;
1482
1482
  password?: string | null | undefined;
@@ -1489,12 +1489,12 @@ export declare const toolFactories: {
1489
1489
  project_id: z.ZodString;
1490
1490
  branch_id: z.ZodString;
1491
1491
  role_name: z.ZodString;
1492
- }, z.core.$strict>, "postgres_roles_delete", null>;
1492
+ }, z.core.$strict>, "delete_postgres_roles", null>;
1493
1493
  "postgres.roles.resetPassword": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1494
1494
  project_id: z.ZodString;
1495
1495
  branch_id: z.ZodString;
1496
1496
  role_name: z.ZodString;
1497
- }, z.core.$strict>, "postgres_roles_reset_password", {
1497
+ }, z.core.$strict>, "reset_password_postgres_roles", {
1498
1498
  branch_id: string;
1499
1499
  name: string;
1500
1500
  password?: string | null | undefined;
@@ -1506,7 +1506,7 @@ export declare const toolFactories: {
1506
1506
  "postgres.databases.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1507
1507
  project_id: z.ZodString;
1508
1508
  branch_id: z.ZodString;
1509
- }, z.core.$strict>, "postgres_databases_list", {
1509
+ }, z.core.$strict>, "list_postgres_databases", {
1510
1510
  id: number;
1511
1511
  branch_id: string;
1512
1512
  name: string;
@@ -1518,7 +1518,7 @@ export declare const toolFactories: {
1518
1518
  project_id: z.ZodString;
1519
1519
  branch_id: z.ZodString;
1520
1520
  database_name: z.ZodString;
1521
- }, z.core.$strict>, "postgres_databases_get", {
1521
+ }, z.core.$strict>, "get_postgres_databases", {
1522
1522
  id: number;
1523
1523
  branch_id: string;
1524
1524
  name: string;
@@ -1531,7 +1531,7 @@ export declare const toolFactories: {
1531
1531
  branch_id: z.ZodString;
1532
1532
  name: z.ZodString;
1533
1533
  owner_name: z.ZodString;
1534
- }, z.core.$strict>, "postgres_databases_create", {
1534
+ }, z.core.$strict>, "create_postgres_databases", {
1535
1535
  id: number;
1536
1536
  branch_id: string;
1537
1537
  name: string;
@@ -1545,7 +1545,7 @@ export declare const toolFactories: {
1545
1545
  database_name: z.ZodString;
1546
1546
  name: z.ZodOptional<z.ZodString>;
1547
1547
  owner_name: z.ZodOptional<z.ZodString>;
1548
- }, z.core.$strict>, "postgres_databases_update", {
1548
+ }, z.core.$strict>, "update_postgres_databases", {
1549
1549
  id: number;
1550
1550
  branch_id: string;
1551
1551
  name: string;
@@ -1557,12 +1557,12 @@ export declare const toolFactories: {
1557
1557
  project_id: z.ZodString;
1558
1558
  branch_id: z.ZodString;
1559
1559
  database_name: z.ZodString;
1560
- }, z.core.$strict>, "postgres_databases_delete", null>;
1560
+ }, z.core.$strict>, "delete_postgres_databases", null>;
1561
1561
  "postgres.dataApi.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1562
1562
  project_id: z.ZodString;
1563
1563
  branch_id: z.ZodString;
1564
1564
  database_name: z.ZodString;
1565
- }, z.core.$strict>, "postgres_data_api_get", {
1565
+ }, z.core.$strict>, "get_postgres_data_api", {
1566
1566
  url: string;
1567
1567
  status: string;
1568
1568
  settings?: {
@@ -1604,7 +1604,7 @@ export declare const toolFactories: {
1604
1604
  server_cors_allowed_origins: z.ZodOptional<z.ZodString>;
1605
1605
  server_timing_enabled: z.ZodOptional<z.ZodBoolean>;
1606
1606
  }, z.core.$strict>>>;
1607
- }, z.core.$strict>, "postgres_data_api_create", {
1607
+ }, z.core.$strict>, "create_postgres_data_api", {
1608
1608
  url: string;
1609
1609
  }>;
1610
1610
  "postgres.dataApi.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
@@ -1621,16 +1621,16 @@ export declare const toolFactories: {
1621
1621
  openapi_mode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1622
1622
  server_cors_allowed_origins: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1623
1623
  server_timing_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1624
- }, z.core.$strict>, "postgres_data_api_update", null>;
1624
+ }, z.core.$strict>, "update_postgres_data_api", null>;
1625
1625
  "postgres.dataApi.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1626
1626
  project_id: z.ZodString;
1627
1627
  branch_id: z.ZodString;
1628
1628
  database_name: z.ZodString;
1629
- }, z.core.$strict>, "postgres_data_api_delete", null>;
1629
+ }, z.core.$strict>, "delete_postgres_data_api", null>;
1630
1630
  "storage.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1631
1631
  project_id: z.ZodString;
1632
1632
  branch_id: z.ZodString;
1633
- }, z.core.$strict>, "storage_get", {
1633
+ }, z.core.$strict>, "get_storage", {
1634
1634
  enabled: boolean;
1635
1635
  s3_endpoint: string;
1636
1636
  region: string;
@@ -1639,7 +1639,7 @@ export declare const toolFactories: {
1639
1639
  "storage.buckets.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1640
1640
  project_id: z.ZodString;
1641
1641
  branch_id: z.ZodString;
1642
- }, z.core.$strict>, "storage_buckets_list", {
1642
+ }, z.core.$strict>, "list_storage_buckets", {
1643
1643
  name: string;
1644
1644
  access_level: import("@neon/sdk").BucketAccessLevel;
1645
1645
  created_at: string;
@@ -1652,7 +1652,7 @@ export declare const toolFactories: {
1652
1652
  private: "private";
1653
1653
  public_read: "public_read";
1654
1654
  }>>;
1655
- }, z.core.$strict>, "storage_buckets_create", {
1655
+ }, z.core.$strict>, "create_storage_buckets", {
1656
1656
  name: string;
1657
1657
  access_level: import("@neon/sdk").BucketAccessLevel;
1658
1658
  created_at: string;
@@ -1661,7 +1661,7 @@ export declare const toolFactories: {
1661
1661
  project_id: z.ZodString;
1662
1662
  branch_id: z.ZodString;
1663
1663
  bucket_name: z.ZodString;
1664
- }, z.core.$strict>, "storage_buckets_delete", null>;
1664
+ }, z.core.$strict>, "delete_storage_buckets", null>;
1665
1665
  "storage.objects.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
1666
1666
  project_id: string;
1667
1667
  branch_id: string;
@@ -1690,7 +1690,7 @@ export declare const toolFactories: {
1690
1690
  prefix?: string | undefined;
1691
1691
  bucket_name: string;
1692
1692
  delimiter?: string | undefined;
1693
- }>>, "storage_objects_list", {
1693
+ }>>, "list_storage_objects", {
1694
1694
  folders: string[];
1695
1695
  objects: {
1696
1696
  key: string;
@@ -1705,13 +1705,13 @@ export declare const toolFactories: {
1705
1705
  branch_id: z.ZodString;
1706
1706
  bucket_name: z.ZodString;
1707
1707
  object_key: z.ZodString;
1708
- }, z.core.$strict>, "storage_objects_delete", null>;
1708
+ }, z.core.$strict>, "delete_storage_objects", null>;
1709
1709
  "storage.objects.deleteByPrefix": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1710
1710
  project_id: z.ZodString;
1711
1711
  branch_id: z.ZodString;
1712
1712
  bucket_name: z.ZodString;
1713
1713
  prefix: z.ZodString;
1714
- }, z.core.$strict>, "storage_objects_delete_by_prefix", {
1714
+ }, z.core.$strict>, "delete_by_prefix_storage_objects", {
1715
1715
  deleted: number;
1716
1716
  }>;
1717
1717
  "storage.objects.presign": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
@@ -1725,7 +1725,7 @@ export declare const toolFactories: {
1725
1725
  }>;
1726
1726
  content_type: z.ZodOptional<z.ZodString>;
1727
1727
  expires_in_seconds: z.ZodOptional<z.ZodInt>;
1728
- }, z.core.$strict>, "storage_objects_presign", {
1728
+ }, z.core.$strict>, "presign_storage_objects", {
1729
1729
  url: string;
1730
1730
  method: string;
1731
1731
  headers: {
@@ -1749,7 +1749,7 @@ export declare const toolFactories: {
1749
1749
  project_id: string;
1750
1750
  branch_id: string;
1751
1751
  limit?: number | undefined;
1752
- }>>, "functions_list", {
1752
+ }>>, "list_functions", {
1753
1753
  id: string;
1754
1754
  slug: string;
1755
1755
  name: string;
@@ -1778,7 +1778,7 @@ export declare const toolFactories: {
1778
1778
  project_id: z.ZodString;
1779
1779
  branch_id: z.ZodString;
1780
1780
  slug: z.ZodString;
1781
- }, z.core.$strict>, "functions_get", {
1781
+ }, z.core.$strict>, "get_functions", {
1782
1782
  id: string;
1783
1783
  slug: string;
1784
1784
  name: string;
@@ -1808,7 +1808,7 @@ export declare const toolFactories: {
1808
1808
  branch_id: z.ZodString;
1809
1809
  slug: z.ZodString;
1810
1810
  name: z.ZodNullable<z.ZodString>;
1811
- }, z.core.$strict>, "functions_update", {
1811
+ }, z.core.$strict>, "update_functions", {
1812
1812
  id: string;
1813
1813
  slug: string;
1814
1814
  name: string;
@@ -1837,7 +1837,7 @@ export declare const toolFactories: {
1837
1837
  project_id: z.ZodString;
1838
1838
  branch_id: z.ZodString;
1839
1839
  slug: z.ZodString;
1840
- }, z.core.$strict>, "functions_delete", null>;
1840
+ }, z.core.$strict>, "delete_functions", null>;
1841
1841
  "functions.deploy": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1842
1842
  project_id: z.ZodString;
1843
1843
  branch_id: z.ZodString;
@@ -1847,7 +1847,7 @@ export declare const toolFactories: {
1847
1847
  nodejs24: "nodejs24";
1848
1848
  }>>;
1849
1849
  environment: z.ZodOptional<z.ZodString>;
1850
- }, z.core.$strict>, "functions_deploy", {
1850
+ }, z.core.$strict>, "deploy_functions", {
1851
1851
  id: number;
1852
1852
  status: "pending" | "building" | "completed" | "failed";
1853
1853
  memory_mib: number;
@@ -1859,7 +1859,7 @@ export declare const toolFactories: {
1859
1859
  "credentials.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1860
1860
  project_id: z.ZodString;
1861
1861
  branch_id: z.ZodString;
1862
- }, z.core.$strict>, "credentials_list", {
1862
+ }, z.core.$strict>, "list_credentials", {
1863
1863
  token_id: string;
1864
1864
  token_id_short: string;
1865
1865
  name?: string | null | undefined;
@@ -1885,7 +1885,7 @@ export declare const toolFactories: {
1885
1885
  principal_type: z.ZodEnum<{
1886
1886
  user: "user";
1887
1887
  }>;
1888
- }, z.core.$strict>, "credentials_create", {
1888
+ }, z.core.$strict>, "create_credentials", {
1889
1889
  token_id: string;
1890
1890
  token_id_short: string;
1891
1891
  name?: string | null | undefined;
@@ -1900,11 +1900,11 @@ export declare const toolFactories: {
1900
1900
  project_id: z.ZodString;
1901
1901
  branch_id: z.ZodString;
1902
1902
  token_id: z.ZodString;
1903
- }, z.core.$strict>, "credentials_revoke", null>;
1903
+ }, z.core.$strict>, "revoke_credentials", null>;
1904
1904
  "aiGateway.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1905
1905
  project_id: z.ZodString;
1906
1906
  branch_id: z.ZodString;
1907
- }, z.core.$strict>, "ai_gateway_get", {
1907
+ }, z.core.$strict>, "get_ai_gateway", {
1908
1908
  enabled: boolean;
1909
1909
  base_url: string;
1910
1910
  }>;
@@ -1972,7 +1972,7 @@ export declare const toolFactories: {
1972
1972
  body_contains?: string | undefined;
1973
1973
  trace_id?: string | undefined;
1974
1974
  logql?: string | undefined;
1975
- }>>, "logs_query", {
1975
+ }>>, "query_logs", {
1976
1976
  timestamp: string;
1977
1977
  message: string;
1978
1978
  source?: import("@neon/sdk").ProjectBranchLogSource | null | undefined;
@@ -1990,7 +1990,7 @@ export declare const toolFactories: {
1990
1990
  "logs.fields": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1991
1991
  project_id: z.ZodString;
1992
1992
  branch_id: z.ZodString;
1993
- }, z.core.$strict>, "logs_fields", string[]>;
1993
+ }, z.core.$strict>, "fields_logs", string[]>;
1994
1994
  "logs.fieldValues": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
1995
1995
  project_id: z.ZodString;
1996
1996
  branch_id: z.ZodString;
@@ -2004,13 +2004,13 @@ export declare const toolFactories: {
2004
2004
  pg_endpoint: "pg_endpoint";
2005
2005
  }>>>;
2006
2006
  limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
2007
- }, z.core.$strict>, "logs_field_values", {
2007
+ }, z.core.$strict>, "field_values_logs", {
2008
2008
  values: string[];
2009
2009
  is_truncated: boolean;
2010
2010
  }>;
2011
2011
  "snapshots.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2012
2012
  project_id: z.ZodString;
2013
- }, z.core.$strict>, "snapshots_list", {
2013
+ }, z.core.$strict>, "list_snapshots", {
2014
2014
  id: string;
2015
2015
  name: string;
2016
2016
  lsn?: string | null | undefined;
@@ -2029,7 +2029,7 @@ export declare const toolFactories: {
2029
2029
  timestamp: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2030
2030
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2031
2031
  expires_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2032
- }, z.core.$strict>, "snapshots_create", {
2032
+ }, z.core.$strict>, "create_snapshots", {
2033
2033
  id: string;
2034
2034
  name: string;
2035
2035
  lsn?: string | null | undefined;
@@ -2046,7 +2046,7 @@ export declare const toolFactories: {
2046
2046
  snapshot_id: z.ZodString;
2047
2047
  name: z.ZodOptional<z.ZodString>;
2048
2048
  expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
2049
- }, z.core.$strict>, "snapshots_update", {
2049
+ }, z.core.$strict>, "update_snapshots", {
2050
2050
  id: string;
2051
2051
  name: string;
2052
2052
  lsn?: string | null | undefined;
@@ -2061,14 +2061,14 @@ export declare const toolFactories: {
2061
2061
  "snapshots.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2062
2062
  project_id: z.ZodString;
2063
2063
  snapshot_id: z.ZodString;
2064
- }, z.core.$strict>, "snapshots_delete", null>;
2064
+ }, z.core.$strict>, "delete_snapshots", null>;
2065
2065
  "snapshots.restore": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2066
2066
  project_id: z.ZodString;
2067
2067
  snapshot_id: z.ZodString;
2068
2068
  name: z.ZodOptional<z.ZodString>;
2069
2069
  target_branch_id: z.ZodOptional<z.ZodString>;
2070
2070
  finalize: z.ZodOptional<z.ZodBoolean>;
2071
- }, z.core.$strict>, "snapshots_restore", {
2071
+ }, z.core.$strict>, "restore_snapshots", {
2072
2072
  id: string;
2073
2073
  project_id: string;
2074
2074
  parent_id?: string | null | undefined;
@@ -2114,7 +2114,7 @@ export declare const toolFactories: {
2114
2114
  "snapshots.getSchedule": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2115
2115
  project_id: z.ZodString;
2116
2116
  branch_id: z.ZodString;
2117
- }, z.core.$strict>, "snapshots_get_schedule", {
2117
+ }, z.core.$strict>, "get_schedule_snapshots", {
2118
2118
  schedule: {
2119
2119
  frequency: string;
2120
2120
  hour?: number | null | undefined;
@@ -2137,7 +2137,7 @@ export declare const toolFactories: {
2137
2137
  month: z.ZodOptional<z.ZodInt>;
2138
2138
  retention_seconds: z.ZodOptional<z.ZodInt>;
2139
2139
  }, z.core.$strict>>;
2140
- }, z.core.$strict>, "snapshots_set_schedule", null>;
2140
+ }, z.core.$strict>, "set_schedule_snapshots", null>;
2141
2141
  "operations.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
2142
2142
  project_id: string;
2143
2143
  limit?: number | undefined;
@@ -2150,7 +2150,7 @@ export declare const toolFactories: {
2150
2150
  }, {
2151
2151
  project_id: string;
2152
2152
  limit?: number | undefined;
2153
- }>>, "operations_list", {
2153
+ }>>, "list_operations", {
2154
2154
  id: string;
2155
2155
  project_id: string;
2156
2156
  branch_id?: string | null | undefined;
@@ -2167,7 +2167,7 @@ export declare const toolFactories: {
2167
2167
  "operations.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2168
2168
  project_id: z.ZodString;
2169
2169
  operation_id: z.ZodUUID;
2170
- }, z.core.$strict>, "operations_get", {
2170
+ }, z.core.$strict>, "get_operations", {
2171
2171
  id: string;
2172
2172
  project_id: string;
2173
2173
  branch_id?: string | null | undefined;
@@ -2184,7 +2184,7 @@ export declare const toolFactories: {
2184
2184
  "auth.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2185
2185
  project_id: z.ZodString;
2186
2186
  branch_id: z.ZodString;
2187
- }, z.core.$strict>, "auth_get", {
2187
+ }, z.core.$strict>, "get_auth", {
2188
2188
  auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
2189
2189
  auth_provider_project_id: string;
2190
2190
  branch_id: string;
@@ -2205,7 +2205,7 @@ export declare const toolFactories: {
2205
2205
  better_auth: "better_auth";
2206
2206
  }>;
2207
2207
  database_name: z.ZodOptional<z.ZodString>;
2208
- }, z.core.$strict>, "auth_create", {
2208
+ }, z.core.$strict>, "create_auth", {
2209
2209
  auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
2210
2210
  auth_provider_project_id: string;
2211
2211
  pub_client_key: string;
@@ -2219,18 +2219,18 @@ export declare const toolFactories: {
2219
2219
  project_id: z.ZodString;
2220
2220
  branch_id: z.ZodString;
2221
2221
  delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2222
- }, z.core.$strict>, "auth_disable", null>;
2222
+ }, z.core.$strict>, "disable_auth", null>;
2223
2223
  "auth.updateConfig": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2224
2224
  project_id: z.ZodString;
2225
2225
  branch_id: z.ZodString;
2226
2226
  name: z.ZodString;
2227
- }, z.core.$strict>, "auth_update_config", {
2227
+ }, z.core.$strict>, "update_config_auth", {
2228
2228
  name: string;
2229
2229
  }>;
2230
2230
  "auth.oauthProviders.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2231
2231
  project_id: z.ZodString;
2232
2232
  branch_id: z.ZodString;
2233
- }, z.core.$strict>, "auth_oauth_providers_list", {
2233
+ }, z.core.$strict>, "list_auth_oauth_providers", {
2234
2234
  id: import("@neon/sdk").NeonAuthOauthProviderId;
2235
2235
  type: import("@neon/sdk").NeonAuthOauthProviderType;
2236
2236
  client_id?: string | null | undefined;
@@ -2248,7 +2248,7 @@ export declare const toolFactories: {
2248
2248
  client_id: z.ZodOptional<z.ZodString>;
2249
2249
  client_secret: z.ZodOptional<z.ZodString>;
2250
2250
  microsoft_tenant_id: z.ZodOptional<z.ZodString>;
2251
- }, z.core.$strict>, "auth_oauth_providers_add", {
2251
+ }, z.core.$strict>, "add_auth_oauth_providers", {
2252
2252
  id: import("@neon/sdk").NeonAuthOauthProviderId;
2253
2253
  type: import("@neon/sdk").NeonAuthOauthProviderType;
2254
2254
  client_id?: string | null | undefined;
@@ -2266,7 +2266,7 @@ export declare const toolFactories: {
2266
2266
  client_id: z.ZodOptional<z.ZodString>;
2267
2267
  client_secret: z.ZodOptional<z.ZodString>;
2268
2268
  microsoft_tenant_id: z.ZodOptional<z.ZodString>;
2269
- }, z.core.$strict>, "auth_oauth_providers_update", {
2269
+ }, z.core.$strict>, "update_auth_oauth_providers", {
2270
2270
  id: import("@neon/sdk").NeonAuthOauthProviderId;
2271
2271
  type: import("@neon/sdk").NeonAuthOauthProviderType;
2272
2272
  client_id?: string | null | undefined;
@@ -2281,11 +2281,11 @@ export declare const toolFactories: {
2281
2281
  microsoft: "microsoft";
2282
2282
  vercel: "vercel";
2283
2283
  }>;
2284
- }, z.core.$strict>, "auth_oauth_providers_delete", null>;
2284
+ }, z.core.$strict>, "delete_auth_oauth_providers", null>;
2285
2285
  "auth.trustedDomains.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2286
2286
  project_id: z.ZodString;
2287
2287
  branch_id: z.ZodString;
2288
- }, z.core.$strict>, "auth_trusted_domains_list", {
2288
+ }, z.core.$strict>, "list_auth_trusted_domains", {
2289
2289
  domain: string;
2290
2290
  auth_provider: import("@neon/sdk").NeonAuthSupportedAuthProvider;
2291
2291
  }[]>;
@@ -2298,7 +2298,7 @@ export declare const toolFactories: {
2298
2298
  stack: "stack";
2299
2299
  better_auth: "better_auth";
2300
2300
  }>;
2301
- }, z.core.$strict>, "auth_trusted_domains_add", null>;
2301
+ }, z.core.$strict>, "add_auth_trusted_domains", null>;
2302
2302
  "auth.trustedDomains.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2303
2303
  project_id: z.ZodString;
2304
2304
  branch_id: z.ZodString;
@@ -2310,26 +2310,26 @@ export declare const toolFactories: {
2310
2310
  domains: z.ZodArray<z.ZodObject<{
2311
2311
  domain: z.ZodURL;
2312
2312
  }, z.core.$strict>>;
2313
- }, z.core.$strict>, "auth_trusted_domains_delete", null>;
2313
+ }, z.core.$strict>, "delete_auth_trusted_domains", null>;
2314
2314
  "auth.users.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2315
2315
  project_id: z.ZodString;
2316
2316
  branch_id: z.ZodString;
2317
2317
  email: z.ZodEmail;
2318
2318
  name: z.ZodOptional<z.ZodString>;
2319
- }, z.core.$strict>, "auth_users_create", {
2319
+ }, z.core.$strict>, "create_auth_users", {
2320
2320
  id: string;
2321
2321
  }>;
2322
2322
  "auth.users.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2323
2323
  project_id: z.ZodString;
2324
2324
  branch_id: z.ZodString;
2325
2325
  auth_user_id: z.ZodString;
2326
- }, z.core.$strict>, "auth_users_delete", null>;
2326
+ }, z.core.$strict>, "delete_auth_users", null>;
2327
2327
  "auth.users.updateRole": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2328
2328
  project_id: z.ZodString;
2329
2329
  branch_id: z.ZodString;
2330
2330
  auth_user_id: z.ZodString;
2331
2331
  roles: z.ZodArray<z.ZodString>;
2332
- }, z.core.$strict>, "auth_users_update_role", {
2332
+ }, z.core.$strict>, "update_role_auth_users", {
2333
2333
  id: string;
2334
2334
  }>;
2335
2335
  "consumption.perProject": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodType<{
@@ -2368,7 +2368,7 @@ export declare const toolFactories: {
2368
2368
  to: string;
2369
2369
  granularity: "hourly" | "daily" | "monthly";
2370
2370
  include_v1_metrics?: boolean | undefined;
2371
- }>>, "consumption_per_project", {
2371
+ }>>, "per_project_consumption", {
2372
2372
  project_id: string;
2373
2373
  periods: {
2374
2374
  period_id: string;
@@ -2420,7 +2420,7 @@ export declare const toolFactories: {
2420
2420
  from: string;
2421
2421
  to: string;
2422
2422
  granularity: "hourly" | "daily" | "monthly";
2423
- }>>, "consumption_per_project_v2", {
2423
+ }>>, "per_project_v2_consumption", {
2424
2424
  project_id: string;
2425
2425
  periods: {
2426
2426
  period_id: string;
@@ -2473,7 +2473,7 @@ export declare const toolFactories: {
2473
2473
  to: string;
2474
2474
  granularity: "hourly" | "daily" | "monthly";
2475
2475
  branch_ids?: string[] | undefined;
2476
- }>>, "consumption_per_branch_v2", {
2476
+ }>>, "per_branch_v2_consumption", {
2477
2477
  project_id: string;
2478
2478
  branch_id: string;
2479
2479
  periods: {
@@ -2491,7 +2491,7 @@ export declare const toolFactories: {
2491
2491
  }[];
2492
2492
  }[];
2493
2493
  }[]>;
2494
- "apiKeys.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "api_keys_list", {
2494
+ "apiKeys.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "list_api_keys", {
2495
2495
  id: number;
2496
2496
  name: string;
2497
2497
  created_at: string;
@@ -2505,7 +2505,7 @@ export declare const toolFactories: {
2505
2505
  }[]>;
2506
2506
  "apiKeys.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2507
2507
  key_name: z.ZodString;
2508
- }, z.core.$strict>, "api_keys_create", {
2508
+ }, z.core.$strict>, "create_api_keys", {
2509
2509
  id: number;
2510
2510
  key: string;
2511
2511
  name: string;
@@ -2514,7 +2514,7 @@ export declare const toolFactories: {
2514
2514
  }>;
2515
2515
  "apiKeys.revoke": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2516
2516
  key_id: z.ZodInt;
2517
- }, z.core.$strict>, "api_keys_revoke", {
2517
+ }, z.core.$strict>, "revoke_api_keys", {
2518
2518
  id: number;
2519
2519
  name: string;
2520
2520
  created_at: string;
@@ -2523,14 +2523,14 @@ export declare const toolFactories: {
2523
2523
  last_used_from_addr: string;
2524
2524
  revoked: boolean;
2525
2525
  }>;
2526
- "regions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "regions_list", {
2526
+ "regions.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "list_regions", {
2527
2527
  region_id: string;
2528
2528
  name: string;
2529
2529
  default: boolean;
2530
2530
  geo_lat: string;
2531
2531
  geo_long: string;
2532
2532
  }[]>;
2533
- "user.me": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "user_me", {
2533
+ "user.me": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "me_user", {
2534
2534
  active_seconds_limit: number;
2535
2535
  billing_account?: {
2536
2536
  state: import("@neon/sdk").BillingAccountState;
@@ -2586,7 +2586,7 @@ export declare const toolFactories: {
2586
2586
  compute_seconds_limit?: number | null | undefined;
2587
2587
  plan: string;
2588
2588
  }>;
2589
- "user.organizations": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "user_organizations", {
2589
+ "user.organizations": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{}, z.core.$strict>, "organizations_user", {
2590
2590
  id: string;
2591
2591
  name: string;
2592
2592
  handle: string;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/lib/ergonomic/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqtC6C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { decodeBase64 } from "../binary.js";
2
- import { bindTool, collectObjectList, collectPages, fromGenerated } from "./bind.js";
2
+ import { bindTool, collectObjectList, collectPages, fromGenerated, publishedId } from "./bind.js";
3
3
  import { connectionStringTool, createBranchWithComputeTool, createProjectAndConnectTool, getDefaultTool, restoreSnapshotTool, setScheduleTool } from "./composed.js";
4
4
  import * as z from "zod";
5
5
  //#region src/lib/ergonomic/catalog.ts
@@ -671,7 +671,7 @@ const toolFactories = {
671
671
  }),
672
672
  "regions.list": (options) => bindTool(options, {
673
673
  operationId: "regions.list",
674
- id: "regions_list",
674
+ id: publishedId("regions.list"),
675
675
  title: "List regions",
676
676
  description: "Lists Neon regions available to the authenticated account.",
677
677
  inputSchema: z.strictObject({}),
@@ -110,7 +110,7 @@ export declare const createBranchWithComputeTool: (options: ToolClientOptions) =
110
110
  suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
111
111
  }, z.core.$strict>>;
112
112
  pooled: z.ZodOptional<z.ZodBoolean>;
113
- }, z.core.$strict>, "branches_create_with_compute", {
113
+ }, z.core.$strict>, "create_with_compute_branches", {
114
114
  branch: {
115
115
  id: string;
116
116
  project_id: string;
@@ -250,7 +250,7 @@ export declare const createProjectAndConnectTool: (options: ToolClientOptions) =
250
250
  store_passwords: z.ZodOptional<z.ZodBoolean>;
251
251
  history_retention_seconds: z.ZodOptional<z.ZodInt>;
252
252
  org_id: z.ZodOptional<z.ZodString>;
253
- }, z.core.$strict>, "projects_create_and_connect", {
253
+ }, z.core.$strict>, "create_and_connect_projects", {
254
254
  project: {
255
255
  data_storage_bytes_hour: number;
256
256
  data_transfer_bytes: number;
@@ -332,7 +332,7 @@ export declare const createProjectAndConnectTool: (options: ToolClientOptions) =
332
332
  }>;
333
333
  export declare const getDefaultTool: (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
334
334
  project_id: z.ZodString;
335
- }, z.core.$strict>, "branches_get_default", {
335
+ }, z.core.$strict>, "get_default_branches", {
336
336
  id: string;
337
337
  project_id: string;
338
338
  parent_id?: string | null | undefined;
@@ -382,14 +382,14 @@ export declare const connectionStringTool: (options: ToolClientOptions) => impor
382
382
  database_name: z.ZodString;
383
383
  role_name: z.ZodString;
384
384
  pooled: z.ZodOptional<z.ZodBoolean>;
385
- }, z.core.$strict>, "postgres_connection_string", string>;
385
+ }, z.core.$strict>, "connection_string_postgres", string>;
386
386
  export declare const restoreSnapshotTool: (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
387
387
  project_id: z.ZodString;
388
388
  snapshot_id: z.ZodString;
389
389
  name: z.ZodOptional<z.ZodString>;
390
390
  target_branch_id: z.ZodOptional<z.ZodString>;
391
391
  finalize: z.ZodOptional<z.ZodBoolean>;
392
- }, z.core.$strict>, "snapshots_restore", {
392
+ }, z.core.$strict>, "restore_snapshots", {
393
393
  id: string;
394
394
  project_id: string;
395
395
  parent_id?: string | null | undefined;
@@ -446,5 +446,5 @@ export declare const setScheduleTool: (options: ToolClientOptions) => import("..
446
446
  month: z.ZodOptional<z.ZodInt>;
447
447
  retention_seconds: z.ZodOptional<z.ZodInt>;
448
448
  }, z.core.$strict>>;
449
- }, z.core.$strict>, "snapshots_set_schedule", null>;
449
+ }, z.core.$strict>, "set_schedule_snapshots", null>;
450
450
  //# sourceMappingURL=composed.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"composed.d.ts","sourceRoot":"","sources":["../../../src/lib/ergonomic/composed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAY,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAuB7D,eAAO,MAAM,kCAAkC;;;;;;;;;;kBAY7C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG7C,CAAC;AAEH,eAAO,MAAM,qBAAqB;;kBAEhC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;kBAOtC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;kBAWrC,CAAC;AAIH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;kBASjC,CAAC;AAEH,eAAO,MAAM,2BAA2B,GAAI,SAAS,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2CpE,CAAC;AAEH,eAAO,MAAM,2BAA2B,GAAI,SAAS,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BpE,CAAC;AAEH,eAAO,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BpE,CAAC;AAEH,eAAO,MAAM,cAAc,GAAI,SAAS,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBvD,CAAC;AAEH,eAAO,MAAM,oBAAoB,GAAI,SAAS,iBAAiB;;;;;;;yDA0C7D,CAAC;AAEH,eAAO,MAAM,mBAAmB,GAAI,SAAS,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B5D,CAAC;AAEH,eAAO,MAAM,eAAe,GAAI,SAAS,iBAAiB;;;;;;;;;;;;;;mDA2BxD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { zBackupScheduleItem, zBranchCreateRequest, zComputeUnit, zCreateProjectBody, zCreateProjectBranchPath, zGetConnectionUriPath, zGetConnectionUriQuery, zListProjectBranchesPath, zRestoreSnapshotBody, zRestoreSnapshotPath, zSetSnapshotSchedulePath, zSuspendTimeoutSeconds } from "../../generated/zod.gen.js";
2
- import { bindTool } from "./bind.js";
2
+ import { bindTool, publishedId } from "./bind.js";
3
3
  import * as z from "zod";
4
4
  //#region src/lib/ergonomic/composed.ts
5
5
  const writeAnnotations = {
@@ -60,7 +60,7 @@ const setScheduleInputSchema = z.strictObject({
60
60
  });
61
61
  const createBranchWithComputeTool = (options) => bindTool(options, {
62
62
  operationId: "branches.createWithCompute",
63
- id: "branches_create_with_compute",
63
+ id: publishedId("branches.createWithCompute"),
64
64
  title: "Create branch with compute",
65
65
  description: "Create a branch with a read-write endpoint and return its connection string. The call waits until operation-backed provisioning finishes, up to five minutes by default.",
66
66
  inputSchema: createBranchWithComputeInputSchema,
@@ -87,7 +87,7 @@ const createBranchWithComputeTool = (options) => bindTool(options, {
87
87
  }));
88
88
  const createProjectAndConnectTool = (options) => bindTool(options, {
89
89
  operationId: "projects.createAndConnect",
90
- id: "projects_create_and_connect",
90
+ id: publishedId("projects.createAndConnect"),
91
91
  title: "Create project and connect",
92
92
  description: "Create a project and return a connection string to its default branch. The call waits until operation-backed provisioning finishes, up to five minutes by default.",
93
93
  inputSchema: createProjectAndConnectInputSchema,
@@ -109,7 +109,7 @@ const createProjectAndConnectTool = (options) => bindTool(options, {
109
109
  });
110
110
  const getDefaultTool = (options) => bindTool(options, {
111
111
  operationId: "branches.getDefault",
112
- id: "branches_get_default",
112
+ id: publishedId("branches.getDefault"),
113
113
  title: "Get default branch",
114
114
  description: "Resolve the project's default branch by the default flag, not by name.",
115
115
  inputSchema: getDefaultInputSchema,
@@ -125,7 +125,7 @@ const getDefaultTool = (options) => bindTool(options, {
125
125
  }, (neon, input, signal) => neon.branches.getDefault(input.project_id, { signal }));
126
126
  const connectionStringTool = (options) => bindTool(options, {
127
127
  operationId: "postgres.connectionString",
128
- id: "postgres_connection_string",
128
+ id: publishedId("postgres.connectionString"),
129
129
  title: "Get connection string",
130
130
  description: "Resolve a Postgres connection string. Auto-selects the default branch and the sole role and database when those are omitted. Errors when the selection is ambiguous.",
131
131
  inputSchema: connectionStringInputSchema,
@@ -148,7 +148,7 @@ const connectionStringTool = (options) => bindTool(options, {
148
148
  }, { signal }));
149
149
  const restoreSnapshotTool = (options) => bindTool(options, {
150
150
  operationId: "snapshots.restore",
151
- id: "snapshots_restore",
151
+ id: publishedId("snapshots.restore"),
152
152
  title: "Restore snapshot",
153
153
  description: "Restore a snapshot onto a new or existing branch. The call waits until operation-backed provisioning finishes. Preview callbacks are not available on this tool.",
154
154
  inputSchema: restoreSnapshotInputSchema,
@@ -168,7 +168,7 @@ const restoreSnapshotTool = (options) => bindTool(options, {
168
168
  }, { signal }));
169
169
  const setScheduleTool = (options) => bindTool(options, {
170
170
  operationId: "snapshots.setSchedule",
171
- id: "snapshots_set_schedule",
171
+ id: publishedId("snapshots.setSchedule"),
172
172
  title: "Set snapshot schedule",
173
173
  description: "Replace a branch's automatic snapshot schedule. Frequency must be daily, weekly, or monthly.",
174
174
  inputSchema: setScheduleInputSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon/tools",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Agent tools for the Neon SDK ergonomic client, compatible with MCP, Eve, and Mastra.",
5
5
  "keywords": [
6
6
  "neon",