Skip to content

Commit ef296c4

Browse files
committed
regen docs
1 parent c5f652e commit ef296c4

File tree

4 files changed

+88
-66
lines changed

4 files changed

+88
-66
lines changed

apps/docs/content/docs/en/tools/google_bigquery.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Query, list, and insert data in Google BigQuery
55

66
import { BlockInfoCard } from "@/components/ui/block-info-card"
77

8-
<BlockInfoCard
8+
<BlockInfoCard
99
type="google_bigquery"
1010
color="#E0E0E0"
1111
/>
@@ -16,6 +16,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1616
In Sim, the Google BigQuery integration allows your agents to query datasets, list tables, inspect schemas, and insert rows as part of automated workflows. This enables use cases such as automated reporting, data pipeline orchestration, real-time data ingestion, and analytics-driven decision making. By connecting Sim with BigQuery, your agents can pull insights from petabytes of data, write results back to tables, and keep your analytics workflows running without manual intervention.
1717
{/* MANUAL-CONTENT-END */}
1818

19+
1920
## Usage Instructions
2021

2122
Connect to Google BigQuery to run SQL queries, list datasets and tables, get table metadata, and insert rows.

apps/docs/content/docs/en/tools/google_books.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Search and retrieve book information
55

66
import { BlockInfoCard } from "@/components/ui/block-info-card"
77

8-
<BlockInfoCard
8+
<BlockInfoCard
99
type="google_books"
1010
color="#E0E0E0"
1111
/>
@@ -16,6 +16,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1616
In Sim, the Google Books integration allows your agents to search for books and retrieve volume details as part of automated workflows. This enables use cases such as content research, reading list curation, bibliographic data enrichment, ISBN lookups, and knowledge gathering from published works. By connecting Sim with Google Books, your agents can discover and analyze book metadata, filter by availability or format, and incorporate literary references into their outputs—all without manual research.
1717
{/* MANUAL-CONTENT-END */}
1818

19+
1920
## Usage Instructions
2021

2122
Search for books using the Google Books API. Find volumes by title, author, ISBN, or keywords, and retrieve detailed information about specific books including descriptions, ratings, and publication details.

apps/docs/content/docs/en/tools/google_tasks.mdx

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Manage Google Tasks
55

66
import { BlockInfoCard } from "@/components/ui/block-info-card"
77

8-
<BlockInfoCard
8+
<BlockInfoCard
99
type="google_tasks"
1010
color="#E0E0E0"
1111
/>
@@ -16,6 +16,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
1616
In Sim, the Google Tasks integration allows your agents to create, read, update, delete, and list tasks and task lists as part of automated workflows. This enables use cases such as automated task creation from incoming data, to-do list management based on workflow triggers, task status tracking, and deadline monitoring. By connecting Sim with Google Tasks, your agents can manage action items programmatically, keep teams organized, and ensure nothing falls through the cracks.
1717
{/* MANUAL-CONTENT-END */}
1818

19+
1920
## Usage Instructions
2021

2122
Integrate Google Tasks into your workflow. Create, read, update, delete, and list tasks and task lists.
@@ -81,7 +82,24 @@ List all tasks in a Google Tasks list
8182

8283
| Parameter | Type | Description |
8384
| --------- | ---- | ----------- |
84-
| `tasks` | json | Array of tasks with id, title, notes, status, due, updated, and more |
85+
| `tasks` | array | List of tasks |
86+
|`id` | string | Task identifier |
87+
|`title` | string | Title of the task |
88+
|`notes` | string | Notes/description for the task |
89+
|`status` | string | Task status: "needsAction" or "completed" |
90+
|`due` | string | Due date \(RFC 3339 timestamp\) |
91+
|`completed` | string | Completion date \(RFC 3339 timestamp\) |
92+
|`updated` | string | Last modification time \(RFC 3339 timestamp\) |
93+
|`selfLink` | string | URL pointing to this task |
94+
|`webViewLink` | string | Link to task in Google Tasks UI |
95+
|`parent` | string | Parent task identifier |
96+
|`position` | string | Position among sibling tasks \(string-based ordering\) |
97+
|`hidden` | boolean | Whether the task is hidden |
98+
|`deleted` | boolean | Whether the task is deleted |
99+
|`links` | array | Collection of links associated with the task |
100+
|`type` | string | Link type \(e.g., "email", "generic", "chat_message"\) |
101+
|`description` | string | Link description |
102+
|`link` | string | The URL |
85103
| `nextPageToken` | string | Token for retrieving the next page of results |
86104

87105
### `google_tasks_get`
@@ -170,14 +188,18 @@ Retrieve all task lists for the authenticated user
170188

171189
| Parameter | Type | Required | Description |
172190
| --------- | ---- | -------- | ----------- |
173-
| `maxResults` | number | No | Maximum number of task lists to return \(default 1000, max 1000\) |
191+
| `maxResults` | number | No | Maximum number of task lists to return \(default 20, max 100\) |
174192
| `pageToken` | string | No | Token for pagination |
175193

176194
#### Output
177195

178196
| Parameter | Type | Description |
179197
| --------- | ---- | ----------- |
180-
| `taskLists` | json | Array of task lists with id, title, updated, and selfLink |
198+
| `taskLists` | array | List of task lists |
199+
|`id` | string | Task list identifier |
200+
|`title` | string | Title of the task list |
201+
|`updated` | string | Last modification time \(RFC 3339 timestamp\) |
202+
|`selfLink` | string | URL pointing to this task list |
181203
| `nextPageToken` | string | Token for retrieving the next page of results |
182204

183205

apps/sim/tools/devin/list_sessions.ts

Lines changed: 58 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -2,71 +2,69 @@ import type { ToolConfig } from '@/tools/types'
22
import type { DevinListSessionsParams, DevinListSessionsResponse } from './types'
33
import { DEVIN_SESSION_LIST_ITEM_PROPERTIES } from './types'
44

5-
export const devinListSessionsTool: ToolConfig<
6-
DevinListSessionsParams,
7-
DevinListSessionsResponse
8-
> = {
9-
id: 'devin_list_sessions',
10-
name: 'list_sessions',
11-
description: 'List Devin sessions in the organization. Returns up to 100 sessions by default.',
12-
version: '1.0.0',
5+
export const devinListSessionsTool: ToolConfig<DevinListSessionsParams, DevinListSessionsResponse> =
6+
{
7+
id: 'devin_list_sessions',
8+
name: 'list_sessions',
9+
description: 'List Devin sessions in the organization. Returns up to 100 sessions by default.',
10+
version: '1.0.0',
1311

14-
params: {
15-
apiKey: {
16-
type: 'string',
17-
required: true,
18-
visibility: 'user-only',
19-
description: 'Devin API key (service user credential starting with cog_)',
20-
},
21-
limit: {
22-
type: 'number',
23-
required: false,
24-
visibility: 'user-or-llm',
25-
description: 'Maximum number of sessions to return (1-200, default: 100)',
12+
params: {
13+
apiKey: {
14+
type: 'string',
15+
required: true,
16+
visibility: 'user-only',
17+
description: 'Devin API key (service user credential starting with cog_)',
18+
},
19+
limit: {
20+
type: 'number',
21+
required: false,
22+
visibility: 'user-or-llm',
23+
description: 'Maximum number of sessions to return (1-200, default: 100)',
24+
},
2625
},
27-
},
2826

29-
request: {
30-
url: (params) => {
31-
const searchParams = new URLSearchParams()
32-
if (params.limit) searchParams.set('first', String(Number(params.limit)))
33-
const qs = searchParams.toString()
34-
return `https://api.devin.ai/v3/organizations/sessions${qs ? `?${qs}` : ''}`
27+
request: {
28+
url: (params) => {
29+
const searchParams = new URLSearchParams()
30+
if (params.limit) searchParams.set('first', String(Number(params.limit)))
31+
const qs = searchParams.toString()
32+
return `https://api.devin.ai/v3/organizations/sessions${qs ? `?${qs}` : ''}`
33+
},
34+
method: 'GET',
35+
headers: (params) => ({
36+
Authorization: `Bearer ${params.apiKey}`,
37+
}),
3538
},
36-
method: 'GET',
37-
headers: (params) => ({
38-
Authorization: `Bearer ${params.apiKey}`,
39-
}),
40-
},
4139

42-
transformResponse: async (response: Response) => {
43-
const data = await response.json()
44-
const items = data.items ?? []
45-
return {
46-
success: true,
47-
output: {
48-
sessions: items.map((item: Record<string, unknown>) => ({
49-
sessionId: item.session_id ?? null,
50-
url: item.url ?? null,
51-
status: item.status ?? null,
52-
statusDetail: item.status_detail ?? null,
53-
title: item.title ?? null,
54-
createdAt: item.created_at ?? null,
55-
updatedAt: item.updated_at ?? null,
56-
tags: item.tags ?? null,
57-
})),
58-
},
59-
}
60-
},
40+
transformResponse: async (response: Response) => {
41+
const data = await response.json()
42+
const items = data.items ?? []
43+
return {
44+
success: true,
45+
output: {
46+
sessions: items.map((item: Record<string, unknown>) => ({
47+
sessionId: item.session_id ?? null,
48+
url: item.url ?? null,
49+
status: item.status ?? null,
50+
statusDetail: item.status_detail ?? null,
51+
title: item.title ?? null,
52+
createdAt: item.created_at ?? null,
53+
updatedAt: item.updated_at ?? null,
54+
tags: item.tags ?? null,
55+
})),
56+
},
57+
}
58+
},
6159

62-
outputs: {
63-
sessions: {
64-
type: 'array',
65-
description: 'List of Devin sessions',
66-
items: {
67-
type: 'object',
68-
properties: DEVIN_SESSION_LIST_ITEM_PROPERTIES,
60+
outputs: {
61+
sessions: {
62+
type: 'array',
63+
description: 'List of Devin sessions',
64+
items: {
65+
type: 'object',
66+
properties: DEVIN_SESSION_LIST_ITEM_PROPERTIES,
67+
},
6968
},
7069
},
71-
},
72-
}
70+
}

0 commit comments

Comments
 (0)