Atom eve seo
This commit is contained in:
11
agent/tools/list_search_console_sites.ts
Normal file
11
agent/tools/list_search_console_sites.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineTool } from "eve/tools";
|
||||
import { listSites } from "../lib/search-console.js";
|
||||
|
||||
export default defineTool({
|
||||
description:
|
||||
"List the Search Console properties the configured service account can access. Useful to confirm access and the exact property name before querying.",
|
||||
inputSchema: { type: "object", additionalProperties: false, properties: {} } as const,
|
||||
async execute() {
|
||||
return listSites();
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user