Skip to content

Commit 287fc7c

Browse files
waleedlatif1claude
andcommitted
docs(tinyfish): document the null case on the profile metadata fields
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ej1gsFPVzN5xZZ3QzvK8bD
1 parent 2894d57 commit 287fc7c

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

apps/docs/content/docs/integrations/tinyfish.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Get the status, extracted result, and step history of a TinyFish automation run
190190
| `browserConfig` | object | Proxy settings the run executed with |
191191
|`proxyEnabled` | boolean | Whether a proxy was used |
192192
|`proxyCountryCode` | string | Proxy country code |
193-
| `profileAttached` | boolean | Whether the run actually started from a Browser Context Profile |
193+
| `profileAttached` | boolean | Whether the run actually started from a Browser Context Profile, null when the API omits it — treat null as unknown rather than as false |
194194
| `profileId` | string | Browser Context Profile the run attached, null when none did |
195195
| `profileHint` | object | Present when TinyFish believes a Browser Context Profile would fix this failed run |
196196
|`message` | string | Why a Browser Context Profile would help this run |
@@ -273,7 +273,7 @@ List TinyFish automation runs, optionally filtered by status, goal text, or crea
273273
|`browserConfig` | object | Proxy settings the run executed with |
274274
|`proxyEnabled` | boolean | Whether a proxy was used |
275275
|`proxyCountryCode` | string | Proxy country code |
276-
|`profileAttached` | boolean | Whether the run actually started from a Browser Context Profile |
276+
|`profileAttached` | boolean | Whether the run actually started from a Browser Context Profile, null when the API omits it — treat null as unknown rather than as false |
277277
|`profileId` | string | Browser Context Profile the run attached, null when none did |
278278
|`profileHint` | object | Present when TinyFish believes a Browser Context Profile would fix this failed run |
279279
|`message` | string | Why a Browser Context Profile would help this run |
@@ -389,7 +389,7 @@ List the Browser Context Profiles saved on the TinyFish account, with the ids an
389389
|`name` | string | Profile name, such as "Salesforce Production" |
390390
|`proxyCountryCode` | string | Country the profile proxies through, null when it has no proxy |
391391
|`fingerprintSeed` | string | Seed for the browser fingerprint the profile replays, null when the API omits it |
392-
|`domainCount` | number | How many domains the profile holds saved state for. Zero means it was created but never logged into |
392+
|`domainCount` | number | How many domains the profile holds saved state for, null when the API omits it. Zero means it was created but never logged into |
393393
|`createdAt` | string | ISO 8601 timestamp when the profile was created, null when the API omits it |
394394
|`updatedAt` | string | ISO 8601 timestamp when the profile was last saved, null when the API omits it |
395395
|`isDefault` | boolean | Whether runs with no Browser Profile ID use this one, null when the API omits it |

apps/sim/tools/generated/tool-outputs.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

apps/sim/tools/tinyfish/list_profiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const listProfilesTool: ToolConfig<
109109
domainCount: {
110110
type: 'number',
111111
description:
112-
'How many domains the profile holds saved state for. Zero means it was created but never logged into',
112+
'How many domains the profile holds saved state for, null when the API omits it. Zero means it was created but never logged into',
113113
optional: true,
114114
nullable: true,
115115
},

apps/sim/tools/tinyfish/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,8 @@ export const RUN_SUMMARY_OUTPUT_PROPERTIES = {
571571
},
572572
profileAttached: {
573573
type: 'boolean',
574-
description: 'Whether the run actually started from a Browser Context Profile',
574+
description:
575+
'Whether the run actually started from a Browser Context Profile, null when the API omits it — treat null as unknown rather than as false',
575576
optional: true,
576577
nullable: true,
577578
},

0 commit comments

Comments
 (0)