meta_get_app_info
Retrieve basic information about Meta applications, including name, category, and namespace details.
Instructions
Get Meta App basic information (name, category, namespace, etc.).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/meta/auth.ts:57-72 (handler)The tool `meta_get_app_info` is registered and implemented within `registerMetaAuthTools` in `src/tools/meta/auth.ts`. It makes a GET request to the `/app` endpoint via the Meta client to retrieve application information.
// ─── meta_get_app_info ─────────────────────────────────────── server.tool( "meta_get_app_info", "Get Meta App basic information (name, category, namespace, etc.).", {}, async () => { try { const { data, rateLimit } = await client.meta("GET", `/app`, { fields: "id,name,category,namespace,link,company,description", }); return { content: [{ type: "text", text: JSON.stringify({ ...data as object, _rateLimit: rateLimit }, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Get app info failed: ${error instanceof Error ? error.message : String(error)}` }], isError: true }; } } );